diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-27 11:20:10 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-27 11:20:10 +0000 |
commit | 3734b946bfef55c8f63d367422da5c7aa7b972db (patch) | |
tree | 1bdd3e14523002dc8276d167b17f900e40fa6dff /sysklogd/logger.c | |
parent | 661f6fad77b672a5f6648b01275eb9ff19c59139 (diff) | |
download | busybox-w32-3734b946bfef55c8f63d367422da5c7aa7b972db.tar.gz busybox-w32-3734b946bfef55c8f63d367422da5c7aa7b972db.tar.bz2 busybox-w32-3734b946bfef55c8f63d367422da5c7aa7b972db.zip |
bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one;
comment thoroughly when they die and when they dont.
Diffstat (limited to '')
-rw-r--r-- | sysklogd/logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index d9c3e5048..3f67aff5c 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c | |||
@@ -89,7 +89,7 @@ int logger_main(int argc, char **argv) | |||
89 | char name[80]; | 89 | char name[80]; |
90 | 90 | ||
91 | /* Fill out the name string early (may be overwritten later) */ | 91 | /* Fill out the name string early (may be overwritten later) */ |
92 | bb_getpwuid(name, geteuid(), sizeof(name)); | 92 | bb_getpwuid(name, sizeof(name), geteuid()); |
93 | str_t = name; | 93 | str_t = name; |
94 | 94 | ||
95 | /* Parse any options */ | 95 | /* Parse any options */ |