pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/delete Remove trailing \n i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af03e21a3b31
branches:  trunk
changeset: 556696:af03e21a3b31
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 30 19:26:39 2009 +0000

description:
Remove trailing \n in warnx call. Pointed out by seb@

diffstat:

 pkgtools/pkg_install/files/delete/pkg_delete.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9b7fe86d5fed -r af03e21a3b31 pkgtools/pkg_install/files/delete/pkg_delete.c
--- a/pkgtools/pkg_install/files/delete/pkg_delete.c    Mon Mar 30 17:07:46 2009 +0000
+++ b/pkgtools/pkg_install/files/delete/pkg_delete.c    Mon Mar 30 19:26:39 2009 +0000
@@ -34,7 +34,7 @@
 #if HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
 #endif
-__RCSID("$NetBSD: pkg_delete.c,v 1.3 2009/03/21 16:43:50 tnn Exp $");
+__RCSID("$NetBSD: pkg_delete.c,v 1.4 2009/03/30 19:26:39 joerg Exp $");
 
 #if HAVE_ERR_H
 #include <err.h>
@@ -687,7 +687,7 @@
                printf("Attempting to delete package `%s'\n", pkg);
        else if (delete_package(FALSE, prune_empty, &plist, unregister_only,
                                destdir) == FAIL) {
-               warnx("couldn't entirely delete package `%s'\n", pkg);
+               warnx("couldn't entirely delete package `%s'", pkg);
                /*
                 * XXX It could be nice to error out here explicitly,
                 * XXX but this is problematic for missing or changed files.



Home | Main Index | Thread Index | Old Index