aboutsummaryrefslogtreecommitdiff
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index 0d400e535..cacb629e9 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -53,7 +53,7 @@ extern int ksyslog(int type, char *buf, int len);
53#define __LOG_FILE "/var/log/messages" 53#define __LOG_FILE "/var/log/messages"
54 54
55/* Path to the unix socket */ 55/* Path to the unix socket */
56char lfile[PATH_MAX] = ""; 56char lfile[BUFSIZ] = "";
57 57
58static char *logFilePath = __LOG_FILE; 58static char *logFilePath = __LOG_FILE;
59 59
@@ -177,7 +177,7 @@ static void doSyslogd (void)
177 int sock_fd; 177 int sock_fd;
178 fd_set fds; 178 fd_set fds;
179 179
180 char lfile[PATH_MAX]; 180 char lfile[BUFSIZ];
181 181
182 /* Set up signal handlers. */ 182 /* Set up signal handlers. */
183 signal (SIGINT, quit_signal); 183 signal (SIGINT, quit_signal);