diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2017-11-18 20:43:38 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-19 13:02:19 -0500 |
commit | 7fb526212f16fcec4e92121ea86dc28fba493177 (patch) | |
tree | 2e32886c9bbdfc4fb706ff55c5a0e1fc0d620283 /block/genhd.c | |
parent | 3a92168bc8a113098b44a95d499557a88bb387da (diff) |
block: genhd.c: fix message typo
Fix typo in error message.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 2 |
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 | } |