mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fix wrong variable use. No effect but also not correct.
This commit is contained in:
parent
66ebf5db8b
commit
1d2ab288d1
1 changed files with 1 additions and 1 deletions
|
|
@ -906,7 +906,7 @@ int parse_option_size(const char* arg, uint64_t* out_size)
|
|||
char* e;
|
||||
|
||||
/* parse the number part */
|
||||
data_off_t size = strtoul(optarg, &e, 10);
|
||||
data_off_t size = strtoul(arg, &e, 10);
|
||||
if (!e || e == arg)
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue