From 46347781a5e6cfbee8d0b55754cca7263af44d38 Mon Sep 17 00:00:00 2001 From: mpech Date: Thu, 14 Mar 2002 06:51:41 +0000 Subject: Remove \n from err/errx/warn/warnx(). millert@ ok --- usr.bin/file/apprentice.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/file/apprentice.c') diff --git a/usr.bin/file/apprentice.c b/usr.bin/file/apprentice.c index c6bc2814c6a..e484243bec1 100644 --- a/usr.bin/file/apprentice.c +++ b/usr.bin/file/apprentice.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apprentice.c,v 1.12 2002/02/16 21:27:46 millert Exp $ */ +/* $OpenBSD: apprentice.c,v 1.13 2002/03/14 06:51:41 mpech Exp $ */ /* * apprentice - make one pass through /etc/magic, learning its secrets. @@ -36,7 +36,7 @@ #include "file.h" #ifndef lint -static char *moduleid = "$OpenBSD: apprentice.c,v 1.12 2002/02/16 21:27:46 millert Exp $"; +static char *moduleid = "$OpenBSD: apprentice.c,v 1.13 2002/03/14 06:51:41 mpech Exp $"; #endif /* lint */ #define EATAB {while (isascii((unsigned char) *l) && \ @@ -164,7 +164,7 @@ uint32 v; case STRING: break; default: - warnx("can't happen: m->type=%d\n", m->type); + warnx("can't happen: m->type=%d", m->type); return -1; } return v; -- cgit v1.2.3-59-g8ed1b