Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb84c1a1 authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

UBI: fix error message



The ubi_err() macro will add \n.

Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent a6ea4407
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}