Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arc/jazz Use PRId64 from <machine/int_fmtio.h> in p...



details:   https://anonhg.NetBSD.org/src/rev/765c38ac16b4
branches:  trunk
changeset: 542280:765c38ac16b4
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jan 25 15:43:11 2003 +0000

description:
Use PRId64 from <machine/int_fmtio.h> in printf format for daddr_t.
(Eventually jazzio would be moved into MI place :-)

diffstat:

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

diffs (20 lines):

diff -r c5ffdf0dc9a2 -r 765c38ac16b4 sys/arch/arc/jazz/fd.c
--- a/sys/arch/arc/jazz/fd.c    Sat Jan 25 14:13:46 2003 +0000
+++ b/sys/arch/arc/jazz/fd.c    Sat Jan 25 15:43:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.11 2003/01/19 10:06:15 tsutsui Exp $  */
+/*     $NetBSD: fd.c,v 1.12 2003/01/25 15:43:11 tsutsui Exp $  */
 /*     $OpenBSD: fd.c,v 1.6 1998/10/03 21:18:57 millert Exp $  */
 /*     NetBSD: fd.c,v 1.78 1995/07/04 07:23:09 mycroft Exp     */
 
@@ -898,8 +898,8 @@
                        block = (fd->sc_cylin * type->heads + head) *
                            type->sectrac + sec;
                        if (block != fd->sc_blkno) {
-                               printf("fdcintr: block %d != blkno %d\n",
-                                   block, fd->sc_blkno);
+                               printf("fdcintr: block %d != blkno %" PRId64
+                                   "\n", block, fd->sc_blkno);
 #ifdef DDB
                                 Debugger();
 #endif



Home | Main Index | Thread Index | Old Index