patch-pre2.0.3 linux/drivers/block/linear.c
Next file: linux/drivers/cdrom/cdrom.c
Previous file: linux/drivers/block/genhd.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon May 13 07:36:19 1996
- Orig file:
pre2.0.2/linux/drivers/block/linear.c
- Orig date:
Sun Apr 21 19:22:02 1996
diff -u --recursive --new-file pre2.0.2/linux/drivers/block/linear.c linux/drivers/block/linear.c
@@ -128,7 +128,8 @@
tmp_dev=hash->dev0;
if (block >= (tmp_dev->size + tmp_dev->offset) || block < tmp_dev->offset)
- printk ("Block %ld out of bounds on dev %04x size %d offset %d\n", block, tmp_dev->dev, tmp_dev->size, tmp_dev->offset);
+ printk ("Block %ld out of bounds on dev %s size %d offset %d\n",
+ block, kdevname(tmp_dev->dev), tmp_dev->size, tmp_dev->offset);
*rdev=tmp_dev->dev;
*rsector=(block-(tmp_dev->offset)) << 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this