diff options
author | Rob Landley <rob@landley.net> | 2012-10-06 19:01:23 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-10-06 19:01:23 -0500 |
commit | 0ece44580b5caa1b09092222d8204c461c71f95f (patch) | |
tree | ccb4e0ae3ea56fba14f25c8912147dc0f33174bf /toys/posix | |
parent | a54733f76575e6e391da0f4735f847f4bb14efe5 (diff) | |
download | toybox-0ece44580b5caa1b09092222d8204c461c71f95f.tar.gz |
Trivial cleanup
Diffstat (limited to 'toys/posix')
-rw-r--r-- | toys/posix/logname.c | 4 |
1 files changed, 1 insertions, 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); } |