diff options
author | Robert Drehmel <robert@FreeBSD.org> | 2002-07-11 20:10:07 +0000 |
---|---|---|
committer | Robert Drehmel <robert@FreeBSD.org> | 2002-07-11 20:10:07 +0000 |
commit | 94fed363fe29da9591f1a3b56de7b461799ca0ec (patch) | |
tree | 101be11404baf6e53958a15d62e383cde61f6d89 /usr.sbin | |
parent | a89c0b2458938c0adefde998c0a5f0aa1bb82715 (diff) | |
download | src-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.c | 2 |
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); |