mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 06:32:57 +00:00
Btrfs-progs: btrfs-crc: support specifying checksum in hex
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
This commit is contained in:
parent
2417dd4cc9
commit
b0d43ad859
@ -49,7 +49,7 @@ int main(int argc, char **argv)
|
||||
length = atol(optarg);
|
||||
break;
|
||||
case 'c':
|
||||
checksum = atol(optarg);
|
||||
sscanf(optarg, "%li", &checksum);
|
||||
loop = 1;
|
||||
break;
|
||||
case 's':
|
||||
|
Loading…
Reference in New Issue
Block a user