mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
3a92168bc8
commit
7fb526212f
|
@ -1392,7 +1392,7 @@ struct gendisk *__alloc_disk_node(int minors, int node_id)
|
|||
|
||||
if (minors > DISK_MAX_PARTS) {
|
||||
printk(KERN_ERR
|
||||
"block: can't allocated more than %d partitions\n",
|
||||
"block: can't allocate more than %d partitions\n",
|
||||
DISK_MAX_PARTS);
|
||||
minors = DISK_MAX_PARTS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue