aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2014-08-19 06:50:54 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2014-08-19 06:50:54 +0000
commitee7b0571c2c18bdec848ed2044223cc88db29bd8 (patch)
treeb04f4bd7cd887f50e7d98af35f46b9834ff86c80 /usr.sbin/pkg
parentffda191e301f128a62c152fde92b692548367fca (diff)
parent15fc2873832ea5b9b639e701bbbf2e73af8b6a88 (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg')
-rw-r--r--usr.sbin/pkg/elf_tables.h1
-rw-r--r--usr.sbin/pkg/pkg.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg/elf_tables.h b/usr.sbin/pkg/elf_tables.h
index 0589ecf9425e..55fd3bbd2e95 100644
--- a/usr.sbin/pkg/elf_tables.h
+++ b/usr.sbin/pkg/elf_tables.h
@@ -42,7 +42,6 @@ static struct _elf_corres mach_corres[] = {
{ EM_PPC, "powerpc" },
{ EM_PPC64, "powerpc" },
{ EM_SPARCV9, "sparc64" },
- { EM_IA_64, "ia64" },
{ -1, NULL },
};
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c
index 1b1a01cf60eb..8f26c611e016 100644
--- a/usr.sbin/pkg/pkg.c
+++ b/usr.sbin/pkg/pkg.c
@@ -126,7 +126,8 @@ extract_pkg_static(int fd, char *p, int sz)
if (r == ARCHIVE_OK)
ret = 0;
else
- warnx("fail to extract pkg-static");
+ warnx("failed to extract pkg-static: %s",
+ archive_error_string(a));
cleanup:
archive_read_free(a);