From b9f87c2ae07317b824a182e1ab77b1e3643252a3 Mon Sep 17 00:00:00 2001 From: robert Date: Thu, 11 Jul 2002 20:10:07 +0000 Subject: Use the length modifier 'l' when supplying an argument of type long to printf(3). --- usr.sbin/timed/timed/correct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/timed') diff --git a/usr.sbin/timed/timed/correct.c b/usr.sbin/timed/timed/correct.c index a5865a8..c7204bd 100644 --- a/usr.sbin/timed/timed/correct.c +++ b/usr.sbin/timed/timed/correct.c @@ -166,7 +166,7 @@ adjclock(corr) } } else { syslog(LOG_WARNING, - "clock correction %d sec too large to adjust", + "clock correction %ld sec too large to adjust", adj.tv_sec); (void) gettimeofday(&now, 0); timevaladd(&now, corr); -- cgit v1.1