提交 bcbc4a80 编写于 作者: J Jonathan Gray 提交者: Alexander Graf

efi_loader: don't increment part twice per loop

Correct a mistake in the part number handling of commit
16a73b24 and only increment part once
per loop.
Signed-off-by: NJonathan Gray <jsg@jsg.id.au>
Tested-by: NPeter Robinson <pbrobinson@gmail.com>
Signed-off-by: NAlexander Graf <agraf@suse.de>
上级 984f251f
......@@ -360,7 +360,6 @@ int efi_disk_register(void)
continue;
efi_disk_add_dev(devname, if_typename, desc,
i, 0, part);
part++;
}
/* ... and add block device: */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册