Messages in this thread Patch in this message | | | Date | Tue, 06 Jul 1999 19:49:17 +0000 | From | Albert Cranford <> | Subject | [patch]pre-2.3.10-4 genhd.c |
| |
patch to make pre-2.3.10-4 compile. I think its correct ----------- --- linux/drivers/block/genhd.c.orig Tue Jul 6 19:32:37 1999 +++ linux/drivers/block/genhd.c Tue Jul 6 19:33:00 1999 @@ -156,7 +156,7 @@ if (hd->major >= COMPAQ_SMART2_MAJOR+0 && hd->major <= COMPAQ_SMART2_MAJOR+7) printk(" p%d", (minor & ((1 << hd->minor_shift) - 1))); else - printk(" %s", disk_name(hd, minor, buf)); + printk(" %s", disk_name(hd, minor, buf, 0)); } static inline int is_extended_partition(struct partition *p) @@ -1318,7 +1318,7 @@ return; } - printk(KERN_INFO " %s:", disk_name(hd, MINOR(dev), buf)); + printk(KERN_INFO " %s:", disk_name(hd, MINOR(dev), buf, 0)); #ifdef CONFIG_MSDOS_PARTITION if (msdos_partition(hd, dev, first_sector)) return; ----------- -- Albert Cranford Deerfield Beach FL USA ac9410@bellsouth.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |