projects
/
lwext4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d812bca
)
Add missing lwext4_server option.
author
gkostka
<kostka.grzegorz@gmail.com>
Tue, 8 Apr 2014 08:48:09 +0000
(08:48 +0000)
committer
gkostka
<kostka.grzegorz@gmail.com>
Tue, 8 Apr 2014 08:48:09 +0000
(08:48 +0000)
fs_test/lwext4_server.c
patch
|
blob
|
history
diff --git
a/fs_test/lwext4_server.c
b/fs_test/lwext4_server.c
index 9bc57986924d979189bb685689df75812fb4f703..6fec39a46d7de2607b069c9821c2c7e13be3868d 100644
(file)
--- a/
fs_test/lwext4_server.c
+++ b/
fs_test/lwext4_server.c
@@
-282,7
+282,7
@@
static bool parse_opt(int argc, char **argv)
{0, 0, 0, 0}
\r
};
\r
\r
- while(-1 != (c = getopt_long (argc, argv, "
i:p:v:w:c
:", long_options, &option_index))) {
\r
+ while(-1 != (c = getopt_long (argc, argv, "
c:i:p:v:w
:", long_options, &option_index))) {
\r
\r
switch(c){
\r
case 'i':
\r
@@
-297,6
+297,9
@@
static bool parse_opt(int argc, char **argv)
case 'c':
\r
cache_wb = atoi(optarg);
\r
break;
\r
+ case 'w':
\r
+ winpart = atoi(optarg);
\r
+ break;
\r
default:
\r
printf("%s", usage);
\r
return false;
\r