summaryrefslogtreecommitdiff
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 883e2cf..8ea8047 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -102,7 +102,7 @@ extern int logread_main(int argc, char **argv)
error_exit("Can't get access to circular buffer from syslogd");
if ( (log_semid = semget(KEY_ID, 0, 0)) == -1)
- error_exit("Can't get access to semaphone(s) for circular buffer from syslogd");
+ error_exit("Can't get access to semaphone(s) for circular buffer from syslogd");
// Suppose atomic memory move
i = follow ? buf->tail : buf->head;
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index e6b7ee7..c827fd8 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -386,7 +386,7 @@ static void logMessage(int pri, char *msg)
time_t now;
char *timestamp;
static char res[20];
-#ifdef CONFIG_FEATURE_REMOTE_LOG
+#ifdef CONFIG_FEATURE_REMOTE_LOG
static char line[MAXLINE + 1];
#endif
CODE *c_pri, *c_fac;