Module Name: src Committed By: jakllsch Date: Thu Dec 30 22:28:53 UTC 2010
Modified Files: src/sys/arch/i386/stand/lib: biosdisk.c Log Message: Fix DISK_DEBUG build. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/i386/stand/lib/biosdisk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/i386/stand/lib/biosdisk.c diff -u src/sys/arch/i386/stand/lib/biosdisk.c:1.33 src/sys/arch/i386/stand/lib/biosdisk.c:1.34 --- src/sys/arch/i386/stand/lib/biosdisk.c:1.33 Sat Dec 25 01:19:33 2010 +++ src/sys/arch/i386/stand/lib/biosdisk.c Thu Dec 30 22:28:53 2010 @@ -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