From d4b8ad46d7993d8b68cf730778954924917a110a Mon Sep 17 00:00:00 2001 From: lukem Date: Wed, 10 Jan 2001 07:59:43 +0000 Subject: [PATCH] don't use LOG_CONS fix typo --- sbin/wdogctl/wdogctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/wdogctl/wdogctl.c b/sbin/wdogctl/wdogctl.c index 5c1a5486d34e..d73660a5b512 100644 --- a/sbin/wdogctl/wdogctl.c +++ b/sbin/wdogctl/wdogctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: wdogctl.c,v 1.2 2000/11/06 07:48:28 minoura Exp $ */ +/* $NetBSD: wdogctl.c,v 1.3 2001/01/10 07:59:43 lukem Exp $ */ /*- * Copyright (c) 2000 Zembu Labs, Inc. @@ -171,7 +171,7 @@ enable_user(const char *name, u_int period) err(1, "open %s", _PATH_WATCHDOG); /* ...so we can log failures to tickle the timer. */ - openlog(__progname, LOG_CONS|LOG_PERROR|LOG_PID, LOG_DAEMON); + openlog(__progname, LOG_PERROR|LOG_PID, LOG_DAEMON); /* * We fork a child process which detaches from the controlling @@ -218,7 +218,7 @@ enable_user(const char *name, u_int period) * we exit, the kernel will disable the watchdog so * that the system won't die. */ - err(1, "unable to deatch from terminal"); + err(1, "unable to detach from terminal"); } if (ioctl(fd, WDOGIOC_TICKLE) == -1)