summaryrefslogtreecommitdiffstats
path: root/usr.sbin/timed
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-07-11 20:10:07 +0000
committerrobert <robert@FreeBSD.org>2002-07-11 20:10:07 +0000
commitb9f87c2ae07317b824a182e1ab77b1e3643252a3 (patch)
tree101be11404baf6e53958a15d62e383cde61f6d89 /usr.sbin/timed
parentc0716890f84852e6220fc4b539fb809714e12c2a (diff)
downloadFreeBSD-src-b9f87c2ae07317b824a182e1ab77b1e3643252a3.zip
FreeBSD-src-b9f87c2ae07317b824a182e1ab77b1e3643252a3.tar.gz
Use the length modifier 'l' when supplying an argument of
type long to printf(3).
Diffstat (limited to 'usr.sbin/timed')
-rw-r--r--usr.sbin/timed/timed/correct.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud