mirror of
https://github.com/sheumann/hush.git
synced 2024-11-19 08:31:11 +00:00
ubi_tools: add forgotten argv++
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
65bdf0b737
commit
f798ba9717
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user