Module Name: src Committed By: jakllsch Date: Thu Dec 30 22:27:43 UTC 2010
Modified Files: src/sys/arch/i386/stand/lib: biosdisk_ll.c Log Message: Make this actually build with DISK_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/arch/i386/stand/lib/biosdisk_ll.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_ll.c diff -u src/sys/arch/i386/stand/lib/biosdisk_ll.c:1.28 src/sys/arch/i386/stand/lib/biosdisk_ll.c:1.29 --- src/sys/arch/i386/stand/lib/biosdisk_ll.c:1.28 Sat Dec 25 01:19:33 2010 +++ src/sys/arch/i386/stand/lib/biosdisk_ll.c Thu Dec 30 22:27:43 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: biosdisk_ll.c,v 1.28 2010/12/25 01:19:33 jakllsch Exp $ */ +/* $NetBSD: biosdisk_ll.c,v 1.29 2010/12/30 22:27:43 jakllsch Exp $ */ /*- * Copyright (c) 2005 The NetBSD Foundation, Inc. @@ -69,6 +69,7 @@ * needs lowlevel parts from bios_disk.S */ +#include <lib/libkern/libkern.h> #include <lib/libsa/stand.h> #include "biosdisk_ll.h" @@ -264,7 +265,7 @@ while ((nsec = do_read(d, dblk, maxsecs, trbuf)) < 0) { #ifdef DISK_DEBUG if (!cold) - printf("read error dblk %"PRId64"-%PRId64\n", + printf("read error dblk %"PRId64"-%"PRId64"\n", dblk, (dblk + maxsecs - 1)); #endif if (--retries >= 0)