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 f93034d..e2a03b1 100644 --- a/coreutils/whoami.c +++ b/coreutils/whoami.c @@ -36,7 +36,7 @@ extern int whoami_main(int argc, char **argv) bb_show_usage(); uid = geteuid(); - if (my_getpwuid(user, uid)) { + if (my_getpwuid(user, uid, sizeof(user))) { puts(user); bb_fflush_stdout_and_exit(EXIT_SUCCESS); } |