diff options
Diffstat (limited to 'drivers/mtd/ubi')
-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) | |||
299 | mtd->size = vol->used_bytes; | 299 | mtd->size = vol->used_bytes; |
300 | 300 | ||
301 | if (add_mtd_device(mtd)) { | 301 | if (add_mtd_device(mtd)) { |
302 | ubi_err("cannot not add MTD device\n"); | 302 | ubi_err("cannot not add MTD device"); |
303 | kfree(mtd->name); | 303 | kfree(mtd->name); |
304 | return -ENFILE; | 304 | return -ENFILE; |
305 | } | 305 | } |