aboutsummaryrefslogtreecommitdiffstats
path: root/btrfs-debug-tree.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-03-01 16:28:11 +0100
committerDavid Sterba <dsterba@suse.com>2016-03-14 13:42:47 +0100
commit6398ed78f9d52769954ba5fe3c15452c390397a7 (patch)
tree4f4ab4ab52256f5a4bfed0b3edd8548871e40a20 /btrfs-debug-tree.c
parentf4fc6efa4bff2abbe073790e1acdcd5efb53124b (diff)
downloadbtrfs-progs-6398ed78f9d52769954ba5fe3c15452c390397a7.tar.gz
btrfs-progs-6398ed78f9d52769954ba5fe3c15452c390397a7.tar.xz
btrfs-progs-6398ed78f9d52769954ba5fe3c15452c390397a7.zip
btrfs-progs: unify naming of argc and argv
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'btrfs-debug-tree.c')
-rw-r--r--btrfs-debug-tree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/btrfs-debug-tree.c b/btrfs-debug-tree.c
index d6e5a69..a645b40 100644
--- a/btrfs-debug-tree.c
+++ b/btrfs-debug-tree.c
@@ -22,18 +22,18 @@
#include "commands.h"
#include "cmds-inspect-dump-tree.h"
-int main(int ac, char **av)
+int main(int argc, char **argv)
{
int ret;
- set_argv0(av);
+ set_argv0(argv);
- if (ac > 1 && !strcmp(av[1], "--help"))
+ if (argc > 1 && !strcmp(argv[1], "--help"))
usage(cmd_inspect_dump_tree_usage);
radix_tree_init();
- ret = cmd_inspect_dump_tree(ac, av);
+ ret = cmd_inspect_dump_tree(argc, argv);
btrfs_close_all_devices();