diff options
author | Peter Wemm <peter@FreeBSD.org> | 1997-03-11 12:09:50 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1997-03-11 12:09:50 +0000 |
commit | a37c38b8d80f9fae9711e50f446e4edc85711b7a (patch) | |
tree | 2cc995342e83c1d92f12a3151ad2fb2770b5c53f /sbin/dump/tape.c | |
parent | 33aa65742bfa5f60721e5689ca37e93a99502c8e (diff) | |
download | src-a37c38b8d80f9fae9711e50f446e4edc85711b7a.tar.gz src-a37c38b8d80f9fae9711e50f446e4edc85711b7a.zip |
Notes
Diffstat (limited to 'sbin/dump/tape.c')
-rw-r--r-- | sbin/dump/tape.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c index 26aed1339ff6..9378d9fd1be3 100644 --- a/sbin/dump/tape.c +++ b/sbin/dump/tape.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)tape.c 8.2 (Berkeley) 3/17/94"; +static char sccsid[] = "@(#)tape.c 8.4 (Berkeley) 5/1/95"; #endif /* not lint */ #include <sys/param.h> @@ -45,8 +45,8 @@ static char sccsid[] = "@(#)tape.c 8.2 (Berkeley) 3/17/94"; #include <ufs/fs.h> #include <ufs/inode.h> #else -#include <ufs/ffs/fs.h> #include <ufs/ufs/dinode.h> +#include <ufs/ffs/fs.h> #endif #include <protocols/dumprestore.h> @@ -584,10 +584,10 @@ restore_check_point: * the remaining names for subsequent volumes. */ tapeno++; /* current tape sequence */ - if (nexttape || index(tape, ',')) { + if (nexttape || strchr(tape, ',')) { if (nexttape && *nexttape) tape = nexttape; - if ((p = index(tape, ',')) != NULL) { + if ((p = strchr(tape, ',')) != NULL) { *p = '\0'; nexttape = p + 1; } else |