Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/usr.sbin/pkg_install/delete Pull up revision 1.20 (requ...



details:   https://anonhg.NetBSD.org/src/rev/36ac3884fa72
branches:  netbsd-1-6
changeset: 528585:36ac3884fa72
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jul 23 11:06:00 2002 +0000

description:
Pull up revision 1.20 (requested by lukem):
sweep of errx/warnx, remove unnecessary trailing \n

diffstat:

 usr.sbin/pkg_install/delete/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 05663fbbd76f -r 36ac3884fa72 usr.sbin/pkg_install/delete/main.c
--- a/usr.sbin/pkg_install/delete/main.c        Tue Jul 23 11:05:50 2002 +0000
+++ b/usr.sbin/pkg_install/delete/main.c        Tue Jul 23 11:06:00 2002 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: main.c,v 1.18.2.1 2002/06/28 12:43:48 lukem Exp $      */
+/*     $NetBSD: main.c,v 1.18.2.2 2002/07/23 11:06:00 lukem Exp $      */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char *rcsid = "from FreeBSD Id: main.c,v 1.11 1997/10/08 07:46:48 charnier Exp";
 #else
-__RCSID("$NetBSD: main.c,v 1.18.2.1 2002/06/28 12:43:48 lukem Exp $");
+__RCSID("$NetBSD: main.c,v 1.18.2.2 2002/07/23 11:06:00 lukem Exp $");
 #endif
 #endif
 
@@ -148,7 +148,7 @@
                                if (rc == 0)
                                        errx(1, "No matching pkg for %s.", *argv);
                                else if (rc == -1) 
-                                       errx(1, "error expanding '%s' ('%s' nonexistant?)\n", *argv, _pkgdb_getPKGDB_DIR());
+                                       errx(1, "error expanding '%s' ('%s' nonexistant?)", *argv, _pkgdb_getPKGDB_DIR());
                        } else {
                                lpp = alloc_lpkg(*argv);
                                TAILQ_INSERT_TAIL(&pkgs, lpp, lp_link);



Home | Main Index | Thread Index | Old Index