From 3734b946bfef55c8f63d367422da5c7aa7b972db Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 27 Jul 2007 11:20:10 +0000 Subject: bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one; comment thoroughly when they die and when they dont. --- sysklogd/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysklogd') 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 */ -- cgit v1.2.3