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