summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-12-19 21:27:08 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-12-19 21:27:08 +0000
commitd88d5ada3936a7b1509a633bb7057de431cb076b (patch)
treeb28fe54d09d8a75fdc96ae47482574642136e8ed
parent1b0ee5f414f67c7f359e223a8ef34e336af9ad06 (diff)
Pass -Wformat.
-rw-r--r--sys/arch/vax/vax/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/vax/clock.c b/sys/arch/vax/vax/clock.c
index f70d3bf70ff..e30e285dd2c 100644
--- a/sys/arch/vax/vax/clock.c
+++ b/sys/arch/vax/vax/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.15 2003/05/11 19:41:12 deraadt Exp $ */
+/* $OpenBSD: clock.c,v 1.16 2003/12/19 21:27:07 miod Exp $ */
/* $NetBSD: clock.c,v 1.35 2000/06/04 06:16:58 matt Exp $ */
/*
* Copyright (c) 1995 Ludd, University of Lule}, Sweden.
@@ -136,7 +136,7 @@ inittodr(fs_time)
if (deltat < 0)
deltat = -deltat;
if (deltat >= 2 * SEC_PER_DAY) {
- printf("Clock has %s %ld days",
+ printf("Clock has %s %d days",
time.tv_sec < fs_time ? "lost" : "gained",
deltat / SEC_PER_DAY);
rv = CLKREAD_WARN;