diff options
author | Sergey Kandaurov <pluknet@FreeBSD.org> | 2012-04-04 13:22:10 +0000 |
---|---|---|
committer | Sergey Kandaurov <pluknet@FreeBSD.org> | 2012-04-04 13:22:10 +0000 |
commit | 6ced2b49f6b0f37341bc29fa8ca8967666c1243d (patch) | |
tree | 0c6afe9cd5024cf8ab53f75233a136e4344680e6 /usr.sbin | |
parent | 3e63ae29943817a940aa96f8d8f457e028650a21 (diff) | |
download | src-6ced2b49f6b0f37341bc29fa8ca8967666c1243d.tar.gz src-6ced2b49f6b0f37341bc29fa8ca8967666c1243d.zip |
MFC r225610: Print the package name on deletion errors.
PR: bin/160516
Approved by: portmgr (pav)
Obtained from: NetBSD
Notes
Notes:
svn path=/stable/8/; revision=233871
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_install/delete/perform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/delete/perform.c b/usr.sbin/pkg_install/delete/perform.c index 1519fd7d221a..6ef2fd26f1da 100644 --- a/usr.sbin/pkg_install/delete/perform.c +++ b/usr.sbin/pkg_install/delete/perform.c @@ -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); |