Signed-off-by: Stefan Behrens <[email protected]>
---
btrfs-crc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/btrfs-crc.c b/btrfs-crc.c
index 6e21a0e..e4cda43 100644
--- a/btrfs-crc.c
+++ b/btrfs-crc.c
@@ -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':
--
1.8.2.1
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html