summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_install/add/extract.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/add/extract.c b/usr.sbin/pkg_install/add/extract.c
index 3add2b04442..ff1cc588ff5 100644
--- a/usr.sbin/pkg_install/add/extract.c
+++ b/usr.sbin/pkg_install/add/extract.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: extract.c,v 1.2 1996/06/04 08:43:32 niklas Exp $ */
+/* $OpenBSD: extract.c,v 1.3 1998/01/14 13:20:50 niklas Exp $ */
#ifndef lint
-static const char *rcsid = "$OpenBSD: extract.c,v 1.2 1996/06/04 08:43:32 niklas Exp $";
+static const char *rcsid = "$OpenBSD: extract.c,v 1.3 1998/01/14 13:20:50 niklas Exp $";
#endif
/*
@@ -34,7 +34,7 @@ static const char *rcsid = "$OpenBSD: extract.c,v 1.2 1996/06/04 08:43:32 niklas
#define PUSHOUT(todir) /* push out string */ \
if (strlen(where_args) > sizeof(STARTSTRING)-1) { \
- strcat(where_args, "|tar xf - -C "); \
+ strcat(where_args, "|tar xpf - -C "); \
strcat(where_args, todir); \
if (system(where_args)) \
barf("can't invoke tar pipeline"); \