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

Submitted by Kevin Cernekee on May 10, 2009, 6:41 a.m.

Details

Message ID 372ea0a5bdff3415ed84e5f6666cd42c@localhost
State Accepted
Commit 29005d358c28e3adce51bee94472b4853267f84f
Headers show

Commit Message

Kevin Cernekee May 10, 2009, 6:41 a.m.
The long form (--squash-uids) is correct, but the short form (-U) is not.

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

Comments

Artem Bityutskiy May 11, 2009, 12:56 p.m.
On Sat, 2009-05-09 at 23:41 -0700, Kevin Cernekee wrote:
> The long form (--squash-uids) is correct, but the short form (-U) is not.
> 
> Signed-off-by: Kevin Cernekee <kpc.mtd@gmail.com>

Pushed, thank you!

Patch hide | download patch | download mbox

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'},