diff options
Diffstat (limited to 'coreutils/whoami.c')
-rw-r--r-- | coreutils/whoami.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/whoami.c b/coreutils/whoami.c index 6756d4ba9..0dbcba955 100644 --- a/coreutils/whoami.c +++ b/coreutils/whoami.c | |||
@@ -20,7 +20,7 @@ int whoami_main(int argc, char **argv UNUSED_PARAM) | |||
20 | bb_show_usage(); | 20 | bb_show_usage(); |
21 | 21 | ||
22 | /* Will complain and die if username not found */ | 22 | /* Will complain and die if username not found */ |
23 | puts(bb_getpwuid(NULL, -1, geteuid())); | 23 | puts(xuid2uname(geteuid())); |
24 | 24 | ||
25 | return fflush(stdout); | 25 | return fflush(stdout); |
26 | } | 26 | } |