OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a54733f
)
Trivial cleanup
author
Rob Landley
<rob@landley.net>
Sun, 7 Oct 2012 00:01:23 +0000
(19:01 -0500)
committer
Rob Landley
<rob@landley.net>
Sun, 7 Oct 2012 00:01:23 +0000
(19:01 -0500)
toys/posix/logname.c
patch
|
blob
|
history
diff --git
a/toys/posix/logname.c
b/toys/posix/logname.c
index
65994d2
..
6ebdb32
100644
(file)
--- 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);
}