diff options
author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
---|---|---|
committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /sbin/dump/dumpoptr.c | |
parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) |
Diffstat (limited to 'sbin/dump/dumpoptr.c')
-rw-r--r-- | sbin/dump/dumpoptr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dump/dumpoptr.c b/sbin/dump/dumpoptr.c index deff36a7fd19..5db2bc134473 100644 --- a/sbin/dump/dumpoptr.c +++ b/sbin/dump/dumpoptr.c @@ -33,7 +33,7 @@ #ifndef lint static char sccsid[] = "@(#)dumpoptr.c 5.8 (Berkeley) 3/7/91"; -static char rcsid[] = "$Header: /home/cvs/386BSD/src/sbin/dump/dumpoptr.c,v 1.2 1993/07/22 16:49:17 jkh Exp $"; +static char rcsid[] = "$Header: /home/cvs/386BSD/src/sbin/dump/dumpoptr.c,v 1.3 1994/03/07 16:37:08 ats Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -505,6 +505,7 @@ lastdump(arg) time(&tnow); getfstab(); /* /etc/fstab input */ initdumptimes(); /* /etc/dumpdates input */ + if(ddatev == NULL) exit(1); /* /etc/dumpdates doesn't exist */ qsort(ddatev, nddates, sizeof(struct dumpdates *), datesort); if (arg == 'w') |