summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/bsdtar.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-08-07 17:17:11 +0000
committerkientzle <kientzle@FreeBSD.org>2004-08-07 17:17:11 +0000
commite9c1fd002b5b9b41f9048032bb08e39247ee99bf (patch)
tree08627de5a1e6ce580cc175ac621621381c3810c6 /usr.bin/tar/bsdtar.c
parent7d65aa86ff279fea6ab04a43e609284eaf4689e0 (diff)
downloadFreeBSD-src-e9c1fd002b5b9b41f9048032bb08e39247ee99bf.zip
FreeBSD-src-e9c1fd002b5b9b41f9048032bb08e39247ee99bf.tar.gz
Linux port corrections:
* Add a more reasonable default device for linux * Add an autoconf check for the FNM_LEADING_DIR extension (which isn't yet obeyed in the code)
Diffstat (limited to 'usr.bin/tar/bsdtar.c')
-rw-r--r--usr.bin/tar/bsdtar.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c
index aa9fc95..535a8aa 100644
--- a/usr.bin/tar/bsdtar.c
+++ b/usr.bin/tar/bsdtar.c
@@ -65,11 +65,14 @@ struct option {
#include "bsdtar.h"
+#ifdef linux
+#define _PATH_DEFTAPE "/dev/st0"
+#endif
+
#ifndef _PATH_DEFTAPE
#define _PATH_DEFTAPE "/dev/tape"
#endif
-
static int bsdtar_getopt(struct bsdtar *, const char *optstring,
const struct option **poption);
static void long_help(struct bsdtar *);
OpenPOWER on IntegriCloud