correct debug printf() to make it compile with DISK_DEBUG again,

closes PR kern/8718 by Takahiro Kambe
This commit is contained in:
drochner 1999-11-02 16:52:25 +00:00
parent 5f8283ea12
commit e6d27a3a83

View File

@ -1,4 +1,4 @@
/* $NetBSD: biosdisk_ll.c,v 1.9 1999/05/04 17:14:55 fvdl Exp $ */
/* $NetBSD: biosdisk_ll.c,v 1.10 1999/11/02 16:52:25 drochner Exp $ */
/*
* Copyright (c) 1996
@ -185,8 +185,8 @@ readsects(d, dblk, num, buf, cold) /* reads ahead if (!cold) */
while ((nsec = do_read(d, dblk, maxsecs, trbuf)) < 0) {
#ifdef DISK_DEBUG
if (!cold)
printf("read error C:%d H:%d S:%d-%d\n",
cyl, head, sec, sec + nsec - 1);
printf("read error dblk %d-%d\n", dblk,
dblk + maxsecs - 1);
#endif
if (--retries >= 0)
continue;