a few more \n's in errors

This commit is contained in:
christos 2015-06-16 23:58:30 +00:00
parent d672d793c3
commit 5bf62a09d2
4 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdisk.c,v 1.151 2015/06/16 23:18:54 christos Exp $ */
/* $NetBSD: fdisk.c,v 1.152 2015/06/16 23:58:30 christos Exp $ */
/*
* Mach Operating System
@ -39,7 +39,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: fdisk.c,v 1.151 2015/06/16 23:18:54 christos Exp $");
__RCSID("$NetBSD: fdisk.c,v 1.152 2015/06/16 23:58:30 christos Exp $");
#endif /* not lint */
#define MBRPTYPENAMES
@ -1200,7 +1200,7 @@ get_extended_ptn(void)
break;
}
warnx("Extended partition table is corrupt\n");
warnx("Extended partition table is corrupt");
ext.is_corrupt = 1;
ext.num_ptn = 0;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.82 2015/06/16 23:18:55 christos Exp $ */
/* $NetBSD: main.c,v 1.83 2015/06/16 23:58:30 christos Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1986, 1993\
#if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/14/95";
#else
__RCSID("$NetBSD: main.c,v 1.82 2015/06/16 23:18:55 christos Exp $");
__RCSID("$NetBSD: main.c,v 1.83 2015/06/16 23:58:30 christos Exp $");
#endif
#endif /* not lint */
@ -123,7 +123,7 @@ main(int argc, char *argv[])
cvtlevel = argtoi('c', "conversion level", optarg, 10);
if (cvtlevel > 4) {
cvtlevel = 4;
warnx("Using maximum conversion level of %d\n",
warnx("Using maximum conversion level of %d",
cvtlevel);
}
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pass2.c,v 1.24 2015/06/16 23:18:55 christos Exp $ */
/* $NetBSD: pass2.c,v 1.25 2015/06/16 23:58:30 christos Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@ -74,7 +74,7 @@ pass2(void)
if (reply("ALLOCATE") == 0)
err(EEXIT, "%s", "");
if (allocdir(ULFS_ROOTINO, ULFS_ROOTINO, 0755) != ULFS_ROOTINO)
err(EEXIT, "CANNOT ALLOCATE ROOT INODE\n");
err(EEXIT, "CANNOT ALLOCATE ROOT INODE");
break;
case DCLEAR:

View File

@ -1,4 +1,4 @@
/* $NetBSD: utilities.c,v 1.36 2015/06/16 23:18:55 christos Exp $ */
/* $NetBSD: utilities.c,v 1.37 2015/06/16 23:58:30 christos Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@ -274,7 +274,7 @@ dofix(struct inodesc * idesc, const char *msg)
return (0);
default:
err(EEXIT, "UNKNOWN INODESC FIX MODE %d\n", idesc->id_fix);
err(EEXIT, "UNKNOWN INODESC FIX MODE %d", idesc->id_fix);
}
/* NOTREACHED */
}