mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-12-05 10:04:17 +08: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