mirror of
https://github.com/sheumann/hush.git
synced 2025-01-11 08:29:54 +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)
|
if (opts & OPTION_s)
|
||||||
size_bytes = xatoull(size_bytes_str);
|
size_bytes = xatoull(size_bytes_str);
|
||||||
argv += optind;
|
argv += optind;
|
||||||
ubi_ctrl = *argv;
|
ubi_ctrl = *argv++;
|
||||||
|
|
||||||
fd = xopen(ubi_ctrl, O_RDWR);
|
fd = xopen(ubi_ctrl, O_RDWR);
|
||||||
//xfstat(fd, &st, ubi_ctrl);
|
//xfstat(fd, &st, ubi_ctrl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user