From 788bbd2d6178a3d91ac3bd4288405a3147ef7fb4 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 28 Oct 2001 06:13:47 +0000 Subject: [PATCH] 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 --- sbin/dump/optr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {