From: Artem Bityutskiy Date: Mon, 14 Jul 2008 09:57:27 +0000 (+0300) Subject: UBI: fix error message X-Git-Tag: v2.6.27-rc1~223^2~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb84c1a199558962edf4b4aeb4480fb09aa09b91;p=linux-2.6 UBI: fix error message The ubi_err() macro will add \n. Signed-off-by: Artem Bityutskiy --- diff --git a/drivers/mtd/ubi/gluebi.c b/drivers/mtd/ubi/gluebi.c index e909b39006..ae76ab638b 100644 --- a/drivers/mtd/ubi/gluebi.c +++ b/drivers/mtd/ubi/gluebi.c @@ -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; }