diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-11 13:11:06 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-11 13:11:06 +0100 |
commit | a7964180e1d7ee8fbddd087ad45dbb96c23c8c1e (patch) | |
tree | bf0d4e256df392564f50304d2d89fd56355d4023 /commands | |
parent | ae33625512143ac277d96a26e1390c7935259373 (diff) | |
parent | 5e11907b7b661a2c6ebe14ce10d3273f1d28fb8c (diff) | |
download | barebox-a7964180e1d7ee8fbddd087ad45dbb96c23c8c1e.tar.gz barebox-a7964180e1d7ee8fbddd087ad45dbb96c23c8c1e.tar.xz |
Merge branch 'for-next/gcc5'
Diffstat (limited to 'commands')
-rw-r--r-- | commands/ubiformat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/commands/ubiformat.c b/commands/ubiformat.c index 8516e112c3..f9c50b7936 100644 --- a/commands/ubiformat.c +++ b/commands/ubiformat.c @@ -503,9 +503,8 @@ static int format(const struct mtd_dev_info *mtd, write_size, eb); if (errno != EIO) { - if (!args.subpage_size != mtd->min_io_size) - normsg("may be sub-page size is " - "incorrect?"); + if (args.subpage_size != mtd->min_io_size) + normsg("may be sub-page size is incorrect?"); goto out_free; } |