diff --git a/logname.c b/logname.c index 7d6da8b..f1981a5 100644 --- a/logname.c +++ b/logname.c @@ -13,7 +13,7 @@ main(int argc, char *argv[]) if (argc != 1) eprintf("usage: %s\n", argv0); if ((login = getlogin())) - printf("%s\n", login); + puts(login); else eprintf("%s: no login name\n", argv0); return 0;