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
This commit is contained in:
Matthew Dillon 2001-10-28 06:13:47 +00:00
parent 8816d1d500
commit 788bbd2d61
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85622

View File

@ -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) {