aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorRobert Drehmel <robert@FreeBSD.org>2002-07-11 20:10:07 +0000
committerRobert Drehmel <robert@FreeBSD.org>2002-07-11 20:10:07 +0000
commit94fed363fe29da9591f1a3b56de7b461799ca0ec (patch)
tree101be11404baf6e53958a15d62e383cde61f6d89 /usr.sbin
parenta89c0b2458938c0adefde998c0a5f0aa1bb82715 (diff)
downloadsrc-94fed363fe29da9591f1a3b56de7b461799ca0ec.tar.gz
src-94fed363fe29da9591f1a3b56de7b461799ca0ec.zip
Use the length modifier 'l' when supplying an argument of
type long to printf(3).
Notes
Notes: svn path=/head/; revision=99808
Diffstat (limited to 'usr.sbin')
-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 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);