summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_timeout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index a32764a..c0f9c89 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -231,9 +231,9 @@ softclock(void *dummy)
maxdt = bt2.frac;
bintime2timespec(&bt2, &ts2);
printf(
- "Expensive timeout(9) function: %p(%p) %d.%09ld s\n",
+ "Expensive timeout(9) function: %p(%p) %ld.%09ld s\n",
c_func, c_arg,
- ts2.tv_sec, ts2.tv_nsec);
+ (long)ts2.tv_sec, ts2.tv_nsec);
}
#endif
if (!(c_flags & CALLOUT_MPSAFE))
OpenPOWER on IntegriCloud