[PATCH] mtd-utils: mkfs.ubifs: Fix typo in short options of mkfs.ubifs

Vivenzio Pagliari vivenzio.pagliari at gmx.de
Mon Oct 25 07:58:54 EDT 2010


The short option for specifying the count of erase blocks for orphans '-p'
was not detected due to a typo.
    
Signed-off-by: Vivenzio Pagliari <vivenzio.pagliari at gmx.de>

diff --git a/mkfs.ubifs/mkfs.ubifs.c b/mkfs.ubifs/mkfs.ubifs.c
index d83f6bd..bc0817f 100644
--- a/mkfs.ubifs/mkfs.ubifs.c
+++ b/mkfs.ubifs/mkfs.ubifs.c
@@ -132,7 +132,7 @@ static struct inum_mapping **hash_table;
 /* 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:UQq";
+static const char *optstring = "d:r:m:o:D:h?vVe:c:g:f:p:k:x:X:j:R:l:j:UQq";
 
 static const struct option longopts[] = {
        {"root",               1, NULL, 'r'},

-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail



More information about the linux-mtd mailing list