From 94fed363fe29da9591f1a3b56de7b461799ca0ec Mon Sep 17 00:00:00 2001 From: Robert Drehmel 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') diff --git a/usr.sbin/timed/timed/correct.c b/usr.sbin/timed/timed/correct.c index a5865a85c5b3..c7204bd3aef4 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.2.3