From 81611660e5d793a2d294c5e5be0fb5e613348b4f Mon Sep 17 00:00:00 2001 From: kleink Date: Sun, 18 Nov 2001 15:30:43 +0000 Subject: [PATCH] Fix printf format in DEBUG case. --- sys/arch/prep/prep/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/prep/prep/clock.c b/sys/arch/prep/prep/clock.c index ad931ea6bfc9..e9909bcfd620 100644 --- a/sys/arch/prep/prep/clock.c +++ b/sys/arch/prep/prep/clock.c @@ -1,4 +1,4 @@ -/* $NetBSD: clock.c,v 1.2 2001/06/19 08:34:50 simonb Exp $ */ +/* $NetBSD: clock.c,v 1.3 2001/11/18 15:30:43 kleink Exp $ */ /* $OpenBSD: clock.c,v 1.3 1997/10/13 13:42:53 pefo Exp $ */ /* @@ -142,7 +142,7 @@ inittodr(base) dt.dt_sec = ct.sec; time.tv_sec = clock_ymdhms_to_secs(&dt); #ifdef DEBUG - printf("=>%ld (%d)\n", time.tv_sec, base); + printf("=>%ld (%d)\n", (long int)time.tv_sec, (int)base); #endif if (!badbase) {