diff options
author | 1996-09-22 10:17:10 +0000 | |
---|---|---|
committer | 1996-09-22 10:17:10 +0000 | |
commit | 6a680b0a08944edf2d2cf85f257fcb6b2ec23ad8 (patch) | |
tree | 2365fa806e901981551ce2822a31382c12d3d511 | |
parent | add ontrack format (diff) | |
download | wireguard-openbsd-6a680b0a08944edf2d2cf85f257fcb6b2ec23ad8.tar.xz wireguard-openbsd-6a680b0a08944edf2d2cf85f257fcb6b2ec23ad8.zip |
warnx does not take a \\n
-rw-r--r-- | sbin/disklabel/disklabel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index 51f5b6080e1..ef15d5ad946 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.17 1996/09/21 13:19:03 pefo Exp $ */ +/* $OpenBSD: disklabel.c,v 1.18 1996/09/22 10:17:10 deraadt Exp $ */ /* $NetBSD: disklabel.c,v 1.30 1996/03/14 19:49:24 ghudson Exp $ */ /* @@ -48,7 +48,7 @@ static char copyright[] = /* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */ static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 1/7/94"; #else -static char rcsid[] = "$OpenBSD: disklabel.c,v 1.17 1996/09/21 13:19:03 pefo Exp $"; +static char rcsid[] = "$OpenBSD: disklabel.c,v 1.18 1996/09/22 10:17:10 deraadt Exp $"; #endif #endif /* not lint */ @@ -585,7 +585,7 @@ readmbr(f) /* Find OpenBSD partition. */ for (part = 0; part < NDOSPART; part++) { if (dp[part].dp_size && dp[part].dp_typ == DOSPTYP_386BSD) { - warnx("using dos partition %d.\n", part); + warnx("using dos partition %d.", part); return (&dp[part]); } } @@ -634,7 +634,7 @@ readlabel(f) msg = "disk label corrupted"; } else { - warnx("no disklabel found. scanning.\n"); + warnx("no disklabel found. scanning."); } nwflag++; |