projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
inetd: comment tweak. no code changes
[oweals/busybox.git]
/
coreutils
/
whoami.c
diff --git
a/coreutils/whoami.c
b/coreutils/whoami.c
index 6756d4ba9fa29973e8e32c9f3b74662548e0b432..0dbcba9553ef1d16ca4a01247cc1a288ecc5c370 100644
(file)
--- a/
coreutils/whoami.c
+++ b/
coreutils/whoami.c
@@
-20,7
+20,7
@@
int whoami_main(int argc, char **argv UNUSED_PARAM)
bb_show_usage();
/* Will complain and die if username not found */
- puts(
bb_getpwuid(NULL, -1,
geteuid()));
+ puts(
xuid2uname(
geteuid()));
return fflush(stdout);
}