aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-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}