aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/logread.c2
-rw-r--r--sysklogd/syslogd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 883e2cf44..8ea8047f7 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -102,7 +102,7 @@ extern int logread_main(int argc, char **argv)
102 error_exit("Can't get access to circular buffer from syslogd"); 102 error_exit("Can't get access to circular buffer from syslogd");
103 103
104 if ( (log_semid = semget(KEY_ID, 0, 0)) == -1) 104 if ( (log_semid = semget(KEY_ID, 0, 0)) == -1)
105 error_exit("Can't get access to semaphone(s) for circular buffer from syslogd"); 105 error_exit("Can't get access to semaphone(s) for circular buffer from syslogd");
106 106
107 // Suppose atomic memory move 107 // Suppose atomic memory move
108 i = follow ? buf->tail : buf->head; 108 i = follow ? buf->tail : buf->head;
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index e6b7ee7ed..c827fd85a 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -386,7 +386,7 @@ static void logMessage(int pri, char *msg)
386 time_t now; 386 time_t now;
387 char *timestamp; 387 char *timestamp;
388 static char res[20]; 388 static char res[20];
389#ifdef CONFIG_FEATURE_REMOTE_LOG 389#ifdef CONFIG_FEATURE_REMOTE_LOG
390 static char line[MAXLINE + 1]; 390 static char line[MAXLINE + 1];
391#endif 391#endif
392 CODE *c_pri, *c_fac; 392 CODE *c_pri, *c_fac;