Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/lib Fix DISK_DEBUG build.



details:   https://anonhg.NetBSD.org/src/rev/da0a3cb7abb8
branches:  trunk
changeset: 760208:da0a3cb7abb8
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Dec 30 22:28:53 2010 +0000

description:
Fix DISK_DEBUG build.

diffstat:

 sys/arch/i386/stand/lib/biosdisk.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ac1d764596af -r da0a3cb7abb8 sys/arch/i386/stand/lib/biosdisk.c
--- a/sys/arch/i386/stand/lib/biosdisk.c        Thu Dec 30 22:27:43 2010 +0000
+++ b/sys/arch/i386/stand/lib/biosdisk.c        Thu Dec 30 22:28:53 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: biosdisk.c,v 1.33 2010/12/25 01:19:33 jakllsch Exp $   */
+/*     $NetBSD: biosdisk.c,v 1.34 2010/12/30 22:28:53 jakllsch Exp $   */
 
 /*
  * Copyright (c) 1996, 1998
@@ -234,7 +234,7 @@
                                continue;
                        sector = this_ext + mbr[i].mbrp_start;
 #ifdef DISK_DEBUG
-                       printf("ptn type %d in sector %"PRId64"\n", typ, sector);
+                       printf("ptn type %d in sector %d\n", typ, sector);
 #endif
                        if (typ == MBR_PTYPE_NETBSD) {
                                error = check_label(d, sector);
@@ -485,7 +485,7 @@
 #endif /* NO_DISKLABEL */
 
 #ifdef DISK_DEBUG
-       printf("partition @%d\n", d->boff);
+       printf("partition @%"PRId64"\n", d->boff);
 #endif
 
 #ifdef _STANDALONE



Home | Main Index | Thread Index | Old Index