diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-14 11:57:27 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-24 12:32:56 +0200 |
commit | bb84c1a199558962edf4b4aeb4480fb09aa09b91 (patch) | |
tree | 9786a81784c665b993888cbc130c9a176c5eb0e6 /drivers/mtd | |
parent | UBI: improve mkvol request validation (diff) | |
download | linux-bb84c1a199558962edf4b4aeb4480fb09aa09b91.tar.xz linux-bb84c1a199558962edf4b4aeb4480fb09aa09b91.zip |
UBI: fix error message
The ubi_err() macro will add \n.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/ubi/gluebi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/gluebi.c b/drivers/mtd/ubi/gluebi.c index e909b390069a..ae76ab638b2f 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; } |