summaryrefslogtreecommitdiff
path: root/block/genhd.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2017-11-19 04:43:38 +0300
committerJens Axboe <axboe@kernel.dk>2017-11-19 21:02:19 +0300
commit7fb526212f16fcec4e92121ea86dc28fba493177 (patch)
tree2e32886c9bbdfc4fb706ff55c5a0e1fc0d620283 /block/genhd.c
parent3a92168bc8a113098b44a95d499557a88bb387da (diff)
downloadlinux-7fb526212f16fcec4e92121ea86dc28fba493177.tar.xz
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.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)
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;
}