aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysklogd/syslogd.c2
-rw-r--r--syslogd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 9a77b5f75..8648da271 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -308,7 +308,7 @@ static void doSyslogd (void)
/* Create the syslog file so realpath() can work. */
close (open (_PATH_LOG, O_RDWR | O_CREAT, 0644));
if (realpath (_PATH_LOG, lfile) == NULL)
- fatalError ("Could not resolv path to " _PATH_LOG ": %s\n", strerror (errno));
+ fatalError ("Could not resolve path to " _PATH_LOG ": %s\n", strerror (errno));
unlink (lfile);
diff --git a/syslogd.c b/syslogd.c
index 9a77b5f75..8648da271 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -308,7 +308,7 @@ static void doSyslogd (void)
/* Create the syslog file so realpath() can work. */
close (open (_PATH_LOG, O_RDWR | O_CREAT, 0644));
if (realpath (_PATH_LOG, lfile) == NULL)
- fatalError ("Could not resolv path to " _PATH_LOG ": %s\n", strerror (errno));
+ fatalError ("Could not resolve path to " _PATH_LOG ": %s\n", strerror (errno));
unlink (lfile);