diff --git a/src/logname.c b/src/logname.c index 440ff16..93665dd 100644 --- a/src/logname.c +++ b/src/logname.c @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (c) 2007 Pierre Pronchery */ +/* Copyright (c) 2009 Pierre Pronchery */ /* This file is part of DeforaOS Unix utils */ /* utils is not free software; you can redistribute it and/or modify it under * the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 @@ -48,6 +48,6 @@ int main(int argc, char * argv[]) perror("getlogin"); return 2; } - printf("%s\n", lgnm); + puts(lgnm); return 0; }