projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65bdf0b
)
ubi_tools: add forgotten argv++
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 30 Jun 2013 00:46:44 +0000
(
02:46
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 30 Jun 2013 00:46:44 +0000
(
02:46
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/ubi_tools.c
patch
|
blob
|
history
diff --git
a/miscutils/ubi_tools.c
b/miscutils/ubi_tools.c
index 79fb2044d1144d1b56db4023de32a2ebf9b92202..33059873a56c1052d8c796e361c43bb33c505246 100644
(file)
--- a/
miscutils/ubi_tools.c
+++ b/
miscutils/ubi_tools.c
@@
-142,7
+142,7
@@
int ubi_tools_main(int argc UNUSED_PARAM, char **argv)
if (opts & OPTION_s)
size_bytes = xatoull(size_bytes_str);
argv += optind;
- ubi_ctrl = *argv;
+ ubi_ctrl = *argv
++
;
fd = xopen(ubi_ctrl, O_RDWR);
//xfstat(fd, &st, ubi_ctrl);