aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-06-19 17:25:40 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-06-19 17:25:40 +0000
commit294b93b36ebfb535087341cf80f836c901834b7b (patch)
treeb94c0d6a506d1ef77f79df246a26d504c84b7110 /sysklogd/logger.c
parenta4f977578f961651d262f3919daa8c5464ed5fc6 (diff)
downloadbusybox-w32-294b93b36ebfb535087341cf80f836c901834b7b.tar.gz
busybox-w32-294b93b36ebfb535087341cf80f836c901834b7b.tar.bz2
busybox-w32-294b93b36ebfb535087341cf80f836c901834b7b.zip
Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r--sysklogd/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 118a5ded0..d32ccaaf3 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -118,7 +118,7 @@ extern int logger_main(int argc, char **argv)
118 int option = 0; 118 int option = 0;
119 int fromStdinFlag = FALSE; 119 int fromStdinFlag = FALSE;
120 int stopLookingAtMeLikeThat = FALSE; 120 int stopLookingAtMeLikeThat = FALSE;
121 char *message, buf[1024], name[128]; 121 char *message=NULL, buf[1024], name[128];
122 122
123 /* Fill out the name string early (may be overwritten later */ 123 /* Fill out the name string early (may be overwritten later */
124 my_getpwuid(name, geteuid()); 124 my_getpwuid(name, geteuid());
@@ -175,5 +175,5 @@ extern int logger_main(int argc, char **argv)
175 syslog(pri, message); 175 syslog(pri, message);
176 closelog(); 176 closelog();
177 177
178 exit(TRUE); 178 return(TRUE);
179} 179}