Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arc/arc Fix printf format in #ifdef DEBUG part.



details:   https://anonhg.NetBSD.org/src/rev/e94064a3b60f
branches:  trunk
changeset: 517008:e94064a3b60f
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Nov 04 14:01:42 2001 +0000

description:
Fix printf format in #ifdef DEBUG part.

diffstat:

 sys/arch/arc/arc/todclock.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ec66f5b30857 -r e94064a3b60f sys/arch/arc/arc/todclock.c
--- a/sys/arch/arc/arc/todclock.c       Sun Nov 04 13:57:29 2001 +0000
+++ b/sys/arch/arc/arc/todclock.c       Sun Nov 04 14:01:42 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: todclock.c,v 1.1 2001/06/13 15:00:27 soda Exp $ */
+/* $NetBSD: todclock.c,v 1.2 2001/11/04 14:01:42 tsutsui Exp $ */
 /* NetBSD: clock.c,v 1.31 2001/05/27 13:53:24 sommerfeld Exp  */
 
 /*
@@ -45,7 +45,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: todclock.c,v 1.1 2001/06/13 15:00:27 soda Exp $");
+__KERNEL_RCSID(0, "$NetBSD: todclock.c,v 1.2 2001/11/04 14:01:42 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -150,7 +150,7 @@
        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 (%ld)\n", time.tv_sec, base);
 #endif
 
        if (!badbase) {



Home | Main Index | Thread Index | Old Index