Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/dev Fix printf() problem caused by "daddr_t" ...



details:   https://anonhg.NetBSD.org/src/rev/8095d22110d9
branches:  trunk
changeset: 542482:8095d22110d9
user:      hannken <hannken%NetBSD.org@localhost>
date:      Thu Jan 30 16:33:50 2003 +0000

description:
Fix printf() problem caused by "daddr_t" change.

diffstat:

 sys/arch/sparc/dev/fd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7eacd52e614c -r 8095d22110d9 sys/arch/sparc/dev/fd.c
--- a/sys/arch/sparc/dev/fd.c   Thu Jan 30 14:18:32 2003 +0000
+++ b/sys/arch/sparc/dev/fd.c   Thu Jan 30 16:33:50 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.101 2003/01/24 21:55:14 fvdl Exp $    */
+/*     $NetBSD: fd.c,v 1.102 2003/01/30 16:33:50 hannken Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -1520,7 +1520,7 @@
                {int block;
                 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 %d\n", block, (int)fd->sc_blkno);
 #ifdef DDB
                         Debugger();
 #endif



Home | Main Index | Thread Index | Old Index