diff options
author | 2002-01-21 07:46:09 +0000 | |
---|---|---|
committer | 2002-01-21 07:46:09 +0000 | |
commit | a2707a58dce22c8e47a75ce7569fa60254a0c322 (patch) | |
tree | 6b66cbf7301c9768ba6d6b0ce63d094cc010f6cb | |
parent | remove couple of #if 0'ed portion we will never use (diff) | |
download | wireguard-openbsd-a2707a58dce22c8e47a75ce7569fa60254a0c322.tar.xz wireguard-openbsd-a2707a58dce22c8e47a75ce7569fa60254a0c322.zip |
deamon -> daemon, from Alexander Yurchenko
-rw-r--r-- | sbin/pflogd/pflogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pflogd/pflogd.c b/sbin/pflogd/pflogd.c index 66a7fc94d7a..033708a76f2 100644 --- a/sbin/pflogd/pflogd.c +++ b/sbin/pflogd/pflogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pflogd.c,v 1.9 2001/12/01 23:27:23 miod Exp $ */ +/* $OpenBSD: pflogd.c,v 1.10 2002/01/21 07:46:09 dhartmei Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -306,7 +306,7 @@ main(int argc, char **argv) if (!Debug) { openlog("pflogd", LOG_PID | LOG_CONS, LOG_DAEMON); if (daemon(0, 0)) { - logmsg(LOG_WARNING, "Failed to become deamon: %s", + logmsg(LOG_WARNING, "Failed to become daemon: %s", strerror(errno)); } pidfile(NULL); |