diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-09-21 01:06:17 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-09-21 01:06:17 +0400 |
commit | d5bd137a247145afabfbc3a3c376ad8787381d8f (patch) | |
tree | e55887632741516332495c4fe7cf4169e71984c3 /coreutils/whoami.c | |
parent | f912ebb7405bcb6cbcdf952bdf2fc2310d93cb3a (diff) |
- rename libbb's password helpers as suggested in libbb.h
my_getpwnam -> bb_xgetpwnam /* dies on error */
my_getgrnam -> bb_xgetgrnam /* dies on error */
my_getgrgid -> bb_getgrgid
my_getpwuid -> bb_getpwuid
my_getug -> bb_getug
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 6a6e2eec9..16d28083c 100644 --- a/coreutils/whoami.c +++ b/coreutils/whoami.c @@ -32,7 +32,7 @@ extern int whoami_main(int argc, char **argv) if (argc > 1) bb_show_usage(); - puts(my_getpwuid(NULL, geteuid(), -1)); + puts(bb_getpwuid(NULL, geteuid(), -1)); /* exits on error */ bb_fflush_stdout_and_exit(EXIT_SUCCESS); } |