mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -1392,7 +1392,7 @@ struct gendisk *__alloc_disk_node(int minors, int node_id)
|
||||||
|
|
||||||
if (minors > DISK_MAX_PARTS) {
|
if (minors > DISK_MAX_PARTS) {
|
||||||
printk(KERN_ERR
|
printk(KERN_ERR
|
||||||
"block: can't allocated more than %d partitions\n",
|
"block: can't allocate more than %d partitions\n",
|
||||||
DISK_MAX_PARTS);
|
DISK_MAX_PARTS);
|
||||||
minors = DISK_MAX_PARTS;
|
minors = DISK_MAX_PARTS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue