aboutsummaryrefslogtreecommitdiff
path: root/coreutils/whoami.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-14 21:23:06 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-14 21:23:06 +0000
commit67991cf824f8df27e74c92d754fb507681c69ce6 (patch)
treea0b652f3dc794d1050c1a8de3afb014a621238fa /coreutils/whoami.c
parent68be2ab914e1e20fe666bbd22a89a18714be2789 (diff)
downloadbusybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.tar.gz
busybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.tar.bz2
busybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.zip
This patch, put together by Manuel Novoa III, is a merge of work
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
Diffstat (limited to 'coreutils/whoami.c')
-rw-r--r--coreutils/whoami.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/whoami.c b/coreutils/whoami.c
index 398e37315..54df0bf12 100644
--- a/coreutils/whoami.c
+++ b/coreutils/whoami.c
@@ -31,7 +31,7 @@ extern int whoami_main(int argc, char **argv)
31 uid_t uid = geteuid(); 31 uid_t uid = geteuid();
32 32
33 if (argc > 1) 33 if (argc > 1)
34 usage(whoami_usage); 34 show_usage();
35 35
36 my_getpwuid(user, uid); 36 my_getpwuid(user, uid);
37 if (*user) { 37 if (*user) {