Author: pluknet
Date: Wed Apr  4 13:22:10 2012
New Revision: 233871
URL: http://svn.freebsd.org/changeset/base/233871

Log:
  MFC r225610: Print the package name on deletion errors.
  
  PR:           bin/160516
  Approved by:  portmgr (pav)
  Obtained from:        NetBSD

Modified:
  stable/8/usr.sbin/pkg_install/delete/perform.c
Directory Properties:
  stable/8/usr.sbin/pkg_install/   (props changed)
  stable/8/usr.sbin/pkg_install/add/   (props changed)
  stable/8/usr.sbin/pkg_install/info/   (props changed)

Modified: stable/8/usr.sbin/pkg_install/delete/perform.c
==============================================================================
--- stable/8/usr.sbin/pkg_install/delete/perform.c      Wed Apr  4 11:55:20 
2012        (r233870)
+++ stable/8/usr.sbin/pkg_install/delete/perform.c      Wed Apr  4 13:22:10 
2012        (r233871)
@@ -318,8 +318,8 @@ pkg_do(char *pkg)
      */
     if (delete_package(FALSE, CleanDirs, &Plist) == FAIL)
        warnx(
-       "couldn't entirely delete package (perhaps the packing list is\n"
-       "incorrectly specified?)");
+       "couldn't entirely delete package `%s'\n"
+       "(perhaps the packing list is incorrectly specified?)", pkg);
 
     if (chdir(LogDir) == FAIL) {
        warnx("unable to change directory to %s! deinstall failed", LogDir);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to