diff options
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/syslogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 114516e2f..972fda15f 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -209,7 +209,7 @@ static void domark(int sig) | |||
209 | static const int BUFSIZE = 1023; | 209 | static const int BUFSIZE = 1023; |
210 | static int serveConnection (int conn) | 210 | static int serveConnection (int conn) |
211 | { | 211 | { |
212 | char buf[ BUFSIZE + 1 ]; | 212 | RESERVE_BB_BUFFER(buf, BUFSIZE + 1); |
213 | int n_read; | 213 | int n_read; |
214 | 214 | ||
215 | while ((n_read = read (conn, buf, BUFSIZE )) > 0) { | 215 | while ((n_read = read (conn, buf, BUFSIZE )) > 0) { |
@@ -296,7 +296,7 @@ static void doSyslogd (void) | |||
296 | int sock_fd; | 296 | int sock_fd; |
297 | fd_set fds; | 297 | fd_set fds; |
298 | 298 | ||
299 | char lfile[BUFSIZ]; | 299 | RESERVE_BB_BUFFER(lfile, BUFSIZ); |
300 | 300 | ||
301 | /* Set up signal handlers. */ | 301 | /* Set up signal handlers. */ |
302 | signal (SIGINT, quit_signal); | 302 | signal (SIGINT, quit_signal); |