aboutsummaryrefslogtreecommitdiff
path: root/sbin/dump
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-10-28 06:13:47 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-10-28 06:13:47 +0000
commit788bbd2d6178a3d91ac3bd4288405a3147ef7fb4 (patch)
treeff0758d2f8a3e368b9ffcff6e02dca96a7484bdb /sbin/dump
parent8816d1d5006f9dbe71efb5ab3f2be713f9b083a8 (diff)
downloadsrc-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.c3
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) {