Btrfs-progs: btrfs-crc: support specifying checksum in hex

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
This commit is contained in:
Stefan Behrens 2013-04-22 12:17:51 +02:00 committed by David Sterba
parent 2417dd4cc9
commit b0d43ad859
1 changed files with 1 additions and 1 deletions

View File

@ -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':