sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit e59cd2e0cebedf60a587473fc7b1a113c19dbb25
parent 86d12bf0bfcf32ca68def13475c53dbe8dba45a9
Author: sin <sin@2f30.org>
Date:   Fri, 17 Oct 2014 15:39:14 +0100

Use puts() instead of printf() for logname(1)

Diffstat:
Mlogname.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;