[mtd-utils patch] mkfs.jffs2: fix --enable-compressor
Adrian Bunk
bunk at kernel.org
Wed Feb 24 08:32:29 EST 2010
The short option -X was working, but the documented long option
--enable-compressor was missing.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
---
mkfs.jffs2.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/mkfs.jffs2.c b/mkfs.jffs2.c
index 23a8cf8..64cafb6 100644
--- a/mkfs.jffs2.c
+++ b/mkfs.jffs2.c
@@ -1468,6 +1468,7 @@ static struct option long_options[] = {
{"devtable", 1, NULL, 'D'},
{"compression-mode", 1, NULL, 'm'},
{"disable-compressor", 1, NULL, 'x'},
+ {"enable-compressor", 1, NULL, 'X'},
{"test-compression", 0, NULL, 't'},
{"compressor-priority", 1, NULL, 'y'},
{"incremental", 1, NULL, 'i'},
--
1.7.0
More information about the linux-mtd
mailing list