diff options
author | millert <millert@openbsd.org> | 1997-09-12 04:07:14 +0000 |
---|---|---|
committer | millert <millert@openbsd.org> | 1997-09-12 04:07:14 +0000 |
commit | 40bbec491edf6328d7621a3fe64e76e08b649137 (patch) | |
tree | bde89f4bfc35b0705c0e016b0d603655cba42f5c /usr.sbin/netgroup_mkdb | |
parent | Don't put newline's in warnx() (diff) | |
download | wireguard-openbsd-40bbec491edf6328d7621a3fe64e76e08b649137.tar.xz wireguard-openbsd-40bbec491edf6328d7621a3fe64e76e08b649137.zip |
Kill extra newline in err()/warn().
Diffstat (limited to 'usr.sbin/netgroup_mkdb')
-rw-r--r-- | usr.sbin/netgroup_mkdb/netgroup_mkdb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/netgroup_mkdb/netgroup_mkdb.c b/usr.sbin/netgroup_mkdb/netgroup_mkdb.c index e561dbddee7..9ca16a1d0ac 100644 --- a/usr.sbin/netgroup_mkdb/netgroup_mkdb.c +++ b/usr.sbin/netgroup_mkdb/netgroup_mkdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netgroup_mkdb.c,v 1.6 1997/06/18 00:00:45 deraadt Exp $ */ +/* $OpenBSD: netgroup_mkdb.c,v 1.7 1997/09/12 04:07:17 millert Exp $ */ /* * Copyright (c) 1994 Christos Zoulas @@ -31,7 +31,7 @@ * SUCH DAMAGE. */ #ifndef lint -static char *rcsid = "$OpenBSD: netgroup_mkdb.c,v 1.6 1997/06/18 00:00:45 deraadt Exp $"; +static char *rcsid = "$OpenBSD: netgroup_mkdb.c,v 1.7 1997/09/12 04:07:17 millert Exp $"; #endif #include <sys/types.h> @@ -242,7 +242,7 @@ ng_load(fname) break; case 1: - warnx("Duplicate entry netgroup `%s'\n", + warnx("Duplicate entry netgroup `%s'", head->n_name); break; @@ -500,7 +500,7 @@ ng_print(e, str) break; default: - errx(1, "Internal error: Bad netgroup type\n"); + errx(1, "Internal error: Bad netgroup type"); break; } str_append(str, ptr, ' '); |