[PATCH] Minor message typo in ide-probe.c

From: Jon Burgess (Jon_Burgess@eur.3com.com)
Date: Sat Aug 26 2000 - 10:52:05 EST


The patch below fixes a minor typo when the kernel displays the following
message during the IDE device probe.

     hd1: C/H/S=0/0/0 from BIOS ignored
to say:
     hdb: C/H/S=0/0/0 from BIOS ignored

Patch against Linux-2.2.17-pre19.

--- ide-probe-19.c Sun Aug 20 13:52:51 2000
+++ ide-probe.c Sat Aug 26 15:32:03 2000
@@ -411,8 +411,8 @@
                    drive->ctl = *(BIOS+8);
                    drive->present = 1;
               } else
- printk("hd%d: C/H/S=%d/%d/%d from BIOS ignored\n",
- unit, cyl, head, sect);
+ printk("%s: C/H/S=%d/%d/%d from BIOS ignored\n",
+ drive->name, cyl, head, sect);
          }
          BIOS += 16;
     }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:17 EST