summaryrefslogtreecommitdiff
path: root/bin/pax/options.c
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2006-04-09 03:35:35 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2006-04-09 03:35:35 +0000
commitd3f6fbafad8afff3c6b1a3ee7f154db41197dc3f (patch)
tree4f4ff33d02df27a271540d49a24c56f84142bccf /bin/pax/options.c
parent96af28e70eca24e66067eae1b00cfc51a58c9513 (diff)
ftree_add arg #2 expects int not pointer.
from Han Boetes <han@mijncomputer.nl> via tech@ ok moritz
Diffstat (limited to 'bin/pax/options.c')
-rw-r--r--bin/pax/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pax/options.c b/bin/pax/options.c
index f150f605356..5d8e96f79af 100644
--- a/bin/pax/options.c
+++ b/bin/pax/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.63 2005/06/02 19:11:06 jaredy Exp $ */
+/* $OpenBSD: options.c,v 1.64 2006/04/09 03:35:34 jaredy Exp $ */
/* $NetBSD: options.c,v 1.6 1996/03/26 23:54:18 mrg Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static const char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#else
-static const char rcsid[] = "$OpenBSD: options.c,v 1.63 2005/06/02 19:11:06 jaredy Exp $";
+static const char rcsid[] = "$OpenBSD: options.c,v 1.64 2006/04/09 03:35:34 jaredy Exp $";
#endif
#endif /* not lint */
@@ -1256,7 +1256,7 @@ cpio_options(int argc, char **argv)
*/
maxflt = 0;
while ((str = getline(stdin)) != NULL) {
- ftree_add(str, NULL);
+ ftree_add(str, 0);
}
if (getline_error) {
paxwarn(1, "Problem while reading stdin");