changeset 669:10ad87be2c55

Trivial cleanup
author Rob Landley <rob@landley.net>
date Sat, 06 Oct 2012 19:01:23 -0500
parents 0ee40175a307
children e2ebaf211a0f
files toys/posix/logname.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/toys/posix/logname.c	Sat Oct 06 01:54:24 2012 -0500
+++ b/toys/posix/logname.c	Sat Oct 06 19:01:23 2012 -0500
@@ -22,8 +22,6 @@
 
 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);
 }