[PATCH] mkfs.ubifs: -U option does not take an argument

Kevin Cernekee kpc.mtd at gmail.com
Sun May 10 02:41:33 EDT 2009


The long form (--squash-uids) is correct, but the short form (-U) is not.

Signed-off-by: Kevin Cernekee <kpc.mtd at gmail.com>

diff -ru mtd-utils.orig/mkfs.ubifs/mkfs.ubifs.c mtd-utils/mkfs.ubifs/mkfs.ubifs.c
--- mtd-utils.orig/mkfs.ubifs/mkfs.ubifs.c	2009-03-17 12:12:09.000000000 -0700
+++ mtd-utils/mkfs.ubifs/mkfs.ubifs.c	2009-05-09 23:37:19.000000000 -0700
@@ -128,7 +128,7 @@
 /* Inode creation sequence number */
 static unsigned long long creat_sqnum;
 
-static const char *optstring = "d:r:m:o:D:h?vVe:c:g:f:P:k:x:X:j:R:l:j:U:";
+static const char *optstring = "d:r:m:o:D:h?vVe:c:g:f:P:k:x:X:j:R:l:j:U";
 
 static const struct option longopts[] = {
 	{"root",          1, NULL, 'r'},



More information about the linux-mtd mailing list