summaryrefslogtreecommitdiff
path: root/bin/pax/options.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-16 03:50:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-16 03:50:26 +0000
commit61827af41d7d7d18bcad7d8ddb1a8d88f40feffe (patch)
tree3dc9cc6e98d9af4be9a7d0f5bb7bbe1d1d86f738 /bin/pax/options.c
parentd3160b248ea1cde4d54a93b629f5ca0514e73d56 (diff)
Change rmt -> rst and use _PATH_DEFTAPE as default file if none is
specified.
Diffstat (limited to 'bin/pax/options.c')
-rw-r--r--bin/pax/options.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/pax/options.c b/bin/pax/options.c
index 5c701044d8d..9872ac0aa55 100644
--- a/bin/pax/options.c
+++ b/bin/pax/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.23 1997/04/12 17:25:25 tholo Exp $ */
+/* $OpenBSD: options.c,v 1.24 1997/04/16 03:50:23 millert Exp $ */
/* $NetBSD: options.c,v 1.6 1996/03/26 23:54:18 mrg Exp $ */
/*-
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#else
-static char rcsid[] = "$OpenBSD: options.c,v 1.23 1997/04/12 17:25:25 tholo Exp $";
+static char rcsid[] = "$OpenBSD: options.c,v 1.24 1997/04/16 03:50:23 millert Exp $";
#endif
#endif /* not lint */
@@ -57,6 +57,7 @@ static char rcsid[] = "$OpenBSD: options.c,v 1.23 1997/04/12 17:25:25 tholo Exp
#include <unistd.h>
#include <stdlib.h>
#include <limits.h>
+#include <paths.h>
#include "pax.h"
#include "options.h"
#include "cpio.h"
@@ -855,7 +856,7 @@ tar_options(argc, argv)
if (!fstdin && ((arcname == (char *)NULL) || (*arcname == '\0'))) {
arcname = getenv("TAPE");
if ((arcname == (char *)NULL) || (*arcname == '\0'))
- arcname = DEV_8;
+ arcname = _PATH_DEFTAPE;
}
}