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 Make this actually build with DISK_D...



details:   https://anonhg.NetBSD.org/src/rev/ac1d764596af
branches:  trunk
changeset: 760207:ac1d764596af
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Dec 30 22:27:43 2010 +0000

description:
Make this actually build with DISK_DEBUG.

diffstat:

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

diffs (26 lines):

diff -r 4e6c8a5fe2b9 -r ac1d764596af sys/arch/i386/stand/lib/biosdisk_ll.c
--- a/sys/arch/i386/stand/lib/biosdisk_ll.c     Thu Dec 30 22:23:13 2010 +0000
+++ b/sys/arch/i386/stand/lib/biosdisk_ll.c     Thu Dec 30 22:27:43 2010 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index