diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1995-08-07 19:17:46 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1995-08-07 19:17:46 +0000 |
| commit | 656dcd4316d328f627e3c8f99be96bb2c41baf5b (patch) | |
| tree | 413738746625eee30af858d100ea794582067fa4 /sbin/dump | |
| parent | 8e53a8e6fc66c9fbe9b277c18b90c11de39d7b7a (diff) | |
Notes
Diffstat (limited to 'sbin/dump')
| -rw-r--r-- | sbin/dump/optr.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c index 303b5b3c1fb1..3c464e4873c1 100644 --- a/sbin/dump/optr.c +++ b/sbin/dump/optr.c @@ -44,19 +44,11 @@ static char sccsid[] = "@(#)optr.c 8.2 (Berkeley) 1/6/94"; #include <grp.h> #include <signal.h> #include <stdio.h> -#ifdef __STDC__ #include <stdlib.h> #include <string.h> #include <stdarg.h> -#endif -#include <tzfile.h> -#ifdef __STDC__ #include <unistd.h> -#endif #include <utmp.h> -#ifndef __STDC__ -#include <varargs.h> -#endif #include "dump.h" #include "pathnames.h" @@ -511,7 +503,7 @@ lastdump(arg) dt = fstabsearch(dtwalk->dd_name); dumpme = (dt != NULL && dt->fs_freq != 0 && - dtwalk->dd_ddate < tnow - (dt->fs_freq * SECSPERDAY)); + dtwalk->dd_ddate < tnow - (dt->fs_freq * 86400)); if (arg != 'w' || dumpme) (void) printf( "%c %8s\t(%6s) Last dump: Level %c, Date %s\n", |
