aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-07-27 11:20:10 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-07-27 11:20:10 +0000
commit3734b946bfef55c8f63d367422da5c7aa7b972db (patch)
tree1bdd3e14523002dc8276d167b17f900e40fa6dff /sysklogd
parent661f6fad77b672a5f6648b01275eb9ff19c59139 (diff)
downloadbusybox-3734b946bfef55c8f63d367422da5c7aa7b972db.tar.gz
busybox-3734b946bfef55c8f63d367422da5c7aa7b972db.tar.bz2
bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one;
comment thoroughly when they die and when they dont.
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/logger.c2
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)
char name[80];
/* Fill out the name string early (may be overwritten later) */
- bb_getpwuid(name, geteuid(), sizeof(name));
+ bb_getpwuid(name, sizeof(name), geteuid());
str_t = name;
/* Parse any options */