Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin remove \n from error messages
details: https://anonhg.NetBSD.org/src/rev/c58082e1dd96
branches: trunk
changeset: 338911:c58082e1dd96
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 16 22:31:08 2015 +0000
description:
remove \n from error messages
diffstat:
bin/pax/tar.c | 6 +++---
bin/ps/ps.c | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r c66ea21370b4 -r c58082e1dd96 bin/pax/tar.c
--- a/bin/pax/tar.c Tue Jun 16 21:12:19 2015 +0000
+++ b/bin/pax/tar.c Tue Jun 16 22:31:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tar.c,v 1.71 2013/01/24 17:43:44 christos Exp $ */
+/* $NetBSD: tar.c,v 1.72 2015/06/16 22:31:08 christos Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)tar.c 8.2 (Berkeley) 4/18/94";
#else
-__RCSID("$NetBSD: tar.c,v 1.71 2013/01/24 17:43:44 christos Exp $");
+__RCSID("$NetBSD: tar.c,v 1.72 2015/06/16 22:31:08 christos Exp $");
#endif
#endif /* not lint */
@@ -1009,7 +1009,7 @@
gnu_hack_len = arcn->nlen + 1;
break;
default:
- errx(1, "Invalid type in GNU longlink %d\n", type);
+ errx(1, "Invalid type in GNU longlink %d", type);
}
/*
diff -r c66ea21370b4 -r c58082e1dd96 bin/ps/ps.c
--- a/bin/ps/ps.c Tue Jun 16 21:12:19 2015 +0000
+++ b/bin/ps/ps.c Tue Jun 16 22:31:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ps.c,v 1.82 2014/06/28 17:32:27 dholland Exp $ */
+/* $NetBSD: ps.c,v 1.83 2015/06/16 22:31:08 christos Exp $ */
/*
* Copyright (c) 2000-2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
#if 0
static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: ps.c,v 1.82 2014/06/28 17:32:27 dholland Exp $");
+__RCSID("$NetBSD: ps.c,v 1.83 2015/06/16 22:31:08 christos Exp $");
#endif
#endif /* not lint */
@@ -398,7 +398,7 @@
parsesort("tdev,pid");
SIMPLEQ_FOREACH(vent, &sortlist, next) {
if (vent->var->flag & LWP || vent->var->type == UNSPECIFIED)
- warnx("Cannot sort on %s, sort key ignored\n",
+ warnx("Cannot sort on %s, sort key ignored",
vent->var->name);
}
@@ -558,7 +558,7 @@
break;
}
/* Error condition! */
- warnx("Inconsistent LWP state for process %d\n", ki->p_pid);
+ warnx("Inconsistent LWP state for process %d", ki->p_pid);
return kl;
}
Home |
Main Index |
Thread Index |
Old Index