diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 2001-10-28 06:13:47 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 2001-10-28 06:13:47 +0000 |
commit | 788bbd2d6178a3d91ac3bd4288405a3147ef7fb4 (patch) | |
tree | ff0758d2f8a3e368b9ffcff6e02dca96a7484bdb /sbin/dump | |
parent | 8816d1d5006f9dbe71efb5ab3f2be713f9b083a8 (diff) | |
download | src-788bbd2d6178a3d91ac3bd4288405a3147ef7fb4.tar.gz src-788bbd2d6178a3d91ac3bd4288405a3147ef7fb4.zip |
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
Notes
Notes:
svn path=/head/; revision=85622
Diffstat (limited to 'sbin/dump')
-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 0fdc74571dc3..74f261cb578f 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) { |