Skip to contentSkip to conversation

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

PATCH In review Vivenzio Pagliari 2 participants 2 messages Oct 25, 2010 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd-utils: mkfs.ubifs: Fix typo in short options of mkfs.ubifs

The short option for specifying the count of erase blocks for orphans '-p' was not detected due to a typo.

mkfs.ubifs/mkfs.ubifs.c +1 -1
index d83f6bd..bc0817f 100644
@@ -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'},
Signature · 2 lines
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
#1 lore raw

mkfs.ubifs/mkfs.ubifs.c

Quoted 9 lines · Vivenzio Pagliari

The short option for specifying the count of erase blocks for orphans '-p' was not detected due to a typo.

mkfs.ubifs/mkfs.ubifs.c +0 -0
index d83f6bd..bc0817f 100644

Pushed, thanks!

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Битюцкий Артём)