diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 1998-02-17 20:51:25 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 1998-02-17 20:51:25 +0000 |
commit | 9bdfc4054ea376a63d1541ca018b4fd33e5ca041 (patch) | |
tree | 75a36a5534988f033e8b20917b5acd95ac3fe094 /usr.sbin | |
parent | be3acfa865364f16dc46c1cf5a74641a8531b252 (diff) |
use warn() instead of warnx() to print error message
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sysctl/sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysctl/sysctl.c b/usr.sbin/sysctl/sysctl.c index 99f7b545420..77b24ace3b2 100644 --- a/usr.sbin/sysctl/sysctl.c +++ b/usr.sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.32 1997/10/25 21:46:06 mickey Exp $ */ +/* $OpenBSD: sysctl.c,v 1.33 1998/02/17 20:51:24 matthieu Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)sysctl.c 8.1 (Berkeley) 6/6/93"; #else -static char *rcsid = "$OpenBSD: sysctl.c,v 1.32 1997/10/25 21:46:06 mickey Exp $"; +static char *rcsid = "$OpenBSD: sysctl.c,v 1.33 1998/02/17 20:51:24 matthieu Exp $"; #endif #endif /* not lint */ @@ -493,7 +493,7 @@ parse(string, flags) if (special & BIOSGEO) return; default: - warnx(string); + warn(string); return; } } |