提交 bb84c1a1 编写于 作者: A Artem Bityutskiy

UBI: fix error message

The ubi_err() macro will add \n.
Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
上级 a6ea4407
......@@ -299,7 +299,7 @@ int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol)
mtd->size = vol->used_bytes;
if (add_mtd_device(mtd)) {
ubi_err("cannot not add MTD device\n");
ubi_err("cannot not add MTD device");
kfree(mtd->name);
return -ENFILE;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册