diff options
author | dillon <dillon@FreeBSD.org> | 2001-10-28 06:13:47 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-10-28 06:13:47 +0000 |
commit | 315406dcf8c8a2619b51a673f41f5e666863fcdd (patch) | |
tree | ff0758d2f8a3e368b9ffcff6e02dca96a7484bdb /sbin/dump/optr.c | |
parent | 2434013c2520d4c36108710bf0c9cd0f75240ab4 (diff) | |
download | FreeBSD-src-315406dcf8c8a2619b51a673f41f5e666863fcdd.zip FreeBSD-src-315406dcf8c8a2619b51a673f41f5e666863fcdd.tar.gz |
deltat declared time_t, msg("") call used %d (assumed time_t == int).
Changed deltat to be an int (result of delta time calculation).
MFC after: 1 day
Diffstat (limited to 'sbin/dump/optr.c')
-rw-r--r-- | sbin/dump/optr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c index 0fdc745..74f261c 100644 --- a/sbin/dump/optr.c +++ b/sbin/dump/optr.c @@ -192,7 +192,8 @@ time_t tschedule = 0; void timeest() { - time_t tnow, deltat; + time_t tnow; + int deltat; (void) time((time_t *) &tnow); if (tnow >= tschedule) { |