summaryrefslogtreecommitdiffstats
path: root/sbin/dump
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-05-01 21:18:36 +0000
committerru <ru@FreeBSD.org>2003-05-01 21:18:36 +0000
commitf3e97543a185ca6d4fc09a9a9bc2df394caad69c (patch)
treefd021b9e5135352d1fa10b165f08720d4ab5f36a /sbin/dump
parente5af44d25a9243848aa1eda8df6979cc06d1c7c3 (diff)
downloadFreeBSD-src-f3e97543a185ca6d4fc09a9a9bc2df394caad69c.zip
FreeBSD-src-f3e97543a185ca6d4fc09a9a9bc2df394caad69c.tar.gz
Removed all vestiges of KerberosIV.
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/Makefile1
-rw-r--r--sbin/dump/dump.82
-rw-r--r--sbin/dump/main.c8
3 files changed, 4 insertions, 7 deletions
diff --git a/sbin/dump/Makefile b/sbin/dump/Makefile
index d758d2e..2dd6fda 100644
--- a/sbin/dump/Makefile
+++ b/sbin/dump/Makefile
@@ -16,7 +16,6 @@
PROG= dump
LINKS= ${BINDIR}/dump ${BINDIR}/rdump
CFLAGS+=-DRDUMP
-CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
WARNS= 0
SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c cache.c
MAN= dump.8
diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8
index 9954bf3..fa1174e 100644
--- a/sbin/dump/dump.8
+++ b/sbin/dump/dump.8
@@ -42,7 +42,7 @@
.Nd file system backup
.Sh SYNOPSIS
.Nm
-.Op Fl 0123456789ackLnSu
+.Op Fl 0123456789acLnSu
.Op Fl B Ar records
.Op Fl b Ar blocksize
.Op Fl C Ar cachesize
diff --git a/sbin/dump/main.c b/sbin/dump/main.c
index 5eb21ab..6866eb7 100644
--- a/sbin/dump/main.c
+++ b/sbin/dump/main.c
@@ -126,9 +126,8 @@ main(int argc, char *argv[])
usage();
obsolete(&argc, &argv);
-#define optstring "0123456789aB:b:C:cD:d:f:h:LnSs:T:uWw"
- while ((ch = getopt(argc, argv, optstring)) != -1)
-#undef optstring
+ while ((ch = getopt(argc, argv,
+ "0123456789aB:b:C:cD:d:f:h:LnSs:T:uWw")) != -1)
switch (ch) {
/* dump level */
case '0': case '1': case '2': case '3': case '4':
@@ -561,8 +560,7 @@ static void
usage(void)
{
fprintf(stderr,
- "usage: dump [-0123456789ac"
- "LnSu] [-B records] [-b blocksize] [-C cachesize]\n"
+ "usage: dump [-0123456789acLnSu] [-B records] [-b blocksize] [-C cachesize]\n"
" [-D dumpdates] [-d density] [-f file] [-h level] [-s feet]\n"
" [-T date] filesystem\n"
" dump -W | -w\n");
OpenPOWER on IntegriCloud