浏览代码

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>
Randy Dunlap 7 年之前
父节点
当前提交
7fb526212f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      block/genhd.c

+ 1 - 1
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;
 	}