summaryrefslogtreecommitdiffstats
path: root/contrib/amd/amd/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/amd/amd/clock.c')
-rw-r--r--contrib/amd/amd/clock.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/amd/amd/clock.c b/contrib/amd/amd/clock.c
index 270401a..72d4719 100644
--- a/contrib/amd/amd/clock.c
+++ b/contrib/amd/amd/clock.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997-1998 Erez Zadok
+ * Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@@ -38,7 +38,7 @@
*
* %W% (Berkeley) %G%
*
- * $Id: clock.c,v 1.1.1.1 1998/11/05 02:04:47 ezk Exp $
+ * $Id: clock.c,v 1.3 1999/01/13 23:30:58 ezk Exp $
*
*/
@@ -190,7 +190,8 @@ reschedule_timeouts(time_t now, time_t then)
if (cp->c_time >= now && cp->c_time <= then) {
plog(XLOG_WARNING, "job %d rescheduled to run immediately", cp->c_id);
#ifdef DEBUG
- dlog("rescheduling job %d back %d seconds", cp->c_id, cp->c_time - now);
+ dlog("rescheduling job %d back %ld seconds",
+ cp->c_id, (long) (cp->c_time - now));
#endif /* DEBUG */
next_softclock = cp->c_time = now;
}
OpenPOWER on IntegriCloud