aboutsummaryrefslogtreecommitdiffstats
path: root/btrfs-debug-tree.c
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2014-02-20 09:30:51 +0800
committerChris Mason <clm@fb.com>2014-03-21 06:23:19 -0700
commit86da12ff869823f4dae20488f3bedeae4a55086d (patch)
tree66560bfd39e7a55ef613182f1abc6be10a1f21d5 /btrfs-debug-tree.c
parentaab2f48c189bb89b71851edbb57e9074405a6262 (diff)
downloadbtrfs-progs-86da12ff869823f4dae20488f3bedeae4a55086d.tar.gz
btrfs-progs-86da12ff869823f4dae20488f3bedeae4a55086d.tar.xz
btrfs-progs-86da12ff869823f4dae20488f3bedeae4a55086d.zip
Btrfs-progs: switch to arg_strtou64() part2
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'btrfs-debug-tree.c')
-rw-r--r--btrfs-debug-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-debug-tree.c b/btrfs-debug-tree.c
index f37de9d..8ae7270 100644
--- a/btrfs-debug-tree.c
+++ b/btrfs-debug-tree.c
@@ -162,7 +162,7 @@ int main(int ac, char **av)
root_backups = 1;
break;
case 'b':
- block_only = atoll(optarg);
+ block_only = arg_strtou64(optarg);
break;
default:
print_usage();