Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin a few more \n's in errors
details: https://anonhg.NetBSD.org/src/rev/d36b4fd08163
branches: trunk
changeset: 338919:d36b4fd08163
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 16 23:58:30 2015 +0000
description:
a few more \n's in errors
diffstat:
sbin/fdisk/fdisk.c | 6 +++---
sbin/fsck_ffs/main.c | 6 +++---
sbin/fsck_lfs/pass2.c | 4 ++--
sbin/fsck_lfs/utilities.c | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r dc63ad3b4abe -r d36b4fd08163 sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c Tue Jun 16 23:54:58 2015 +0000
+++ b/sbin/fdisk/fdisk.c Tue Jun 16 23:58:30 2015 +0000
@@ -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 @@
break;
}
- warnx("Extended partition table is corrupt\n");
+ warnx("Extended partition table is corrupt");
ext.is_corrupt = 1;
ext.num_ptn = 0;
}
diff -r dc63ad3b4abe -r d36b4fd08163 sbin/fsck_ffs/main.c
--- a/sbin/fsck_ffs/main.c Tue Jun 16 23:54:58 2015 +0000
+++ b/sbin/fsck_ffs/main.c Tue Jun 16 23:58:30 2015 +0000
@@ -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 @@
#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 @@
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;
diff -r dc63ad3b4abe -r d36b4fd08163 sbin/fsck_lfs/pass2.c
--- a/sbin/fsck_lfs/pass2.c Tue Jun 16 23:54:58 2015 +0000
+++ b/sbin/fsck_lfs/pass2.c Tue Jun 16 23:58:30 2015 +0000
@@ -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 @@
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:
diff -r dc63ad3b4abe -r d36b4fd08163 sbin/fsck_lfs/utilities.c
--- a/sbin/fsck_lfs/utilities.c Tue Jun 16 23:54:58 2015 +0000
+++ b/sbin/fsck_lfs/utilities.c Tue Jun 16 23:58:30 2015 +0000
@@ -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 @@
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 */
}
Home |
Main Index |
Thread Index |
Old Index