Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin more stray \n
details: https://anonhg.NetBSD.org/src/rev/fd2ba1e58312
branches: trunk
changeset: 338920:fd2ba1e58312
user: christos <christos%NetBSD.org@localhost>
date: Wed Jun 17 00:01:59 2015 +0000
description:
more stray \n
diffstat:
usr.bin/cdplay/cdplay.c | 8 ++++----
usr.bin/chpass/pw_yp.c | 6 +++---
usr.bin/kdump/kdump.c | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r d36b4fd08163 -r fd2ba1e58312 usr.bin/cdplay/cdplay.c
--- a/usr.bin/cdplay/cdplay.c Tue Jun 16 23:58:30 2015 +0000
+++ b/usr.bin/cdplay/cdplay.c Wed Jun 17 00:01:59 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdplay.c,v 1.48 2013/10/07 15:17:24 christos Exp $ */
+/* $NetBSD: cdplay.c,v 1.49 2015/06/17 00:01:59 christos Exp $ */
/*
* Copyright (c) 1999, 2000, 2001 Andrew Doran.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: cdplay.c,v 1.48 2013/10/07 15:17:24 christos Exp $");
+__RCSID("$NetBSD: cdplay.c,v 1.49 2015/06/17 00:01:59 christos Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -306,7 +306,7 @@
}
} else {
cmd = CMD_QUIT;
- warnx("\r\n");
+ fprintf(stderr, "\r\n");
arg = NULL;
break;
}
@@ -1463,7 +1463,7 @@
rc = ioctl(afd, SCIOCCOMMAND, &sc);
if (rc < 0 || sc.retsts != SCCMD_OK) {
if (da.read_errors < 10) {
- warnx("scsi cmd failed: retsts %d status %d\n",
+ warnx("scsi cmd failed: retsts %d status %d",
sc.retsts, sc.status);
}
da.read_errors++;
diff -r d36b4fd08163 -r fd2ba1e58312 usr.bin/chpass/pw_yp.c
--- a/usr.bin/chpass/pw_yp.c Tue Jun 16 23:58:30 2015 +0000
+++ b/usr.bin/chpass/pw_yp.c Wed Jun 17 00:01:59 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pw_yp.c,v 1.22 2009/04/11 12:10:02 lukem Exp $ */
+/* $NetBSD: pw_yp.c,v 1.23 2015/06/17 00:01:59 christos Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -33,7 +33,7 @@
#if 0
static char sccsid[] = "@(#)pw_yp.c 1.0 2/2/93";
#else
-__RCSID("$NetBSD: pw_yp.c,v 1.22 2009/04/11 12:10:02 lukem Exp $");
+__RCSID("$NetBSD: pw_yp.c,v 1.23 2015/06/17 00:01:59 christos Exp $");
#endif
#endif /* not lint */
@@ -136,7 +136,7 @@
*/
if ((rpcport = getrpcport(master, YPPASSWDPROG, YPPASSWDPROC_UPDATE,
IPPROTO_UDP)) == 0) {
- warnx("master YP server not running yppasswd daemon.\n\t%s\n",
+ warnx("master YP server not running yppasswd daemon.\n\t%s",
"Can't change password.");
return (1);
}
diff -r d36b4fd08163 -r fd2ba1e58312 usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c Tue Jun 16 23:58:30 2015 +0000
+++ b/usr.bin/kdump/kdump.c Wed Jun 17 00:01:59 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kdump.c,v 1.119 2015/06/16 22:54:10 christos Exp $ */
+/* $NetBSD: kdump.c,v 1.120 2015/06/17 00:01:59 christos Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)kdump.c 8.4 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: kdump.c,v 1.119 2015/06/16 22:54:10 christos Exp $");
+__RCSID("$NetBSD: kdump.c,v 1.120 2015/06/17 00:01:59 christos Exp $");
#endif
#endif /* not lint */
@@ -997,7 +997,7 @@
}
/*NOTREACHED*/
default:
- warnx("Unhandled size %d for ktrpsig\n", len);
+ warnx("Unhandled size %d for ktrpsig", len);
break;
}
}
Home |
Main Index |
Thread Index |
Old Index