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

login
register
mail settings
Submitter Vivenzio Pagliari
Date Oct. 25, 2010, 11:58 a.m.
Message ID <20101025115854.226600@gmx.net>
Download mbox | patch
Permalink /patch/69092/
State New
Headers show

Comments

Vivenzio Pagliari - Oct. 25, 2010, 11:58 a.m.
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@gmx.de>
Artem Bityutskiy - Oct. 25, 2010, 7:26 p.m.
On Mon, 2010-10-25 at 13:58 +0200, Vivenzio Pagliari wrote:
> 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@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

Pushed, thanks!

Patch

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