From 0ece44580b5caa1b09092222d8204c461c71f95f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 6 Oct 2012 19:01:23 -0500 Subject: Trivial cleanup --- toys/posix/logname.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/toys/posix/logname.c b/toys/posix/logname.c index 65994d20..6ebdb329 100644 --- a/toys/posix/logname.c +++ b/toys/posix/logname.c @@ -22,8 +22,6 @@ config LOGNAME void logname_main(void) { - if (getlogin_r(toybuf, sizeof(toybuf))){ - error_exit("no login name"); - } + if (getlogin_r(toybuf, sizeof(toybuf))) error_exit("no login name"); xputs(toybuf); } -- cgit v1.2.3