summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-10-08 13:50:02 +0000
committerThomas Bushnell <thomas@gnu.org>1999-10-08 13:50:02 +0000
commit0a3e16978740c04c11fe0c934bda8c1fb9787d46 (patch)
treeb130a551adbd22a2118da1f42939ce126ac1356a /linux
parentb7963ed6cafd7360571d9f187e6947497ec83574 (diff)
1999-09-17 Thomas Bushnell, BSG <tb@mit.edu>
* linux/dev/drivers/block/ide.c (do_request) [MACH]: In "bad access" printf, actually print the number of sectors of the partition.
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/drivers/block/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/drivers/block/ide.c b/linux/dev/drivers/block/ide.c
index 2342099..ee3c878 100644
--- a/linux/dev/drivers/block/ide.c
+++ b/linux/dev/drivers/block/ide.c
@@ -1578,7 +1578,7 @@ static inline void do_request (ide_hwif_t *hwif, struct request *rq)
blockend = block + rq->nr_sectors;
if ((blockend < block) || (blockend > drive->part[minor&PARTN_MASK].nr_sects)) {
#ifdef MACH
- printk ("%s%c: bad access: block=%ld, count=%ld, blockend=%ld, nr_sects\n",
+ printk ("%s%c: bad access: block=%ld, count=%ld, blockend=%ld, nr_sects%ld\n",
drive->name, (minor&PARTN_MASK)?'0'+(minor&PARTN_MASK):' ',
block, rq->nr_sectors, blockend, drive->part[minor&PARTN_MASK].nr_sects);
#else