summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c
index c143a2274238..96a66f671720 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1392,7 +1392,7 @@ struct gendisk *__alloc_disk_node(int minors, int node_id)
1392 1392
1393 if (minors > DISK_MAX_PARTS) { 1393 if (minors > DISK_MAX_PARTS) {
1394 printk(KERN_ERR 1394 printk(KERN_ERR
1395 "block: can't allocated more than %d partitions\n", 1395 "block: can't allocate more than %d partitions\n",
1396 DISK_MAX_PARTS); 1396 DISK_MAX_PARTS);
1397 minors = DISK_MAX_PARTS; 1397 minors = DISK_MAX_PARTS;
1398 } 1398 }