summaryrefslogtreecommitdiff
path: root/btrfs-vol.c
diff options
context:
space:
mode:
Diffstat (limited to 'btrfs-vol.c')
-rw-r--r--btrfs-vol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/btrfs-vol.c b/btrfs-vol.c
index 0cc2e979..9eddd782 100644
--- a/btrfs-vol.c
+++ b/btrfs-vol.c
@@ -71,9 +71,9 @@ int main(int ac, char **av)
char *mnt = NULL;
int ret;
int option_index = 0;
- int cmd;
+ int cmd = 0;
int fd;
- int devfd;
+ int devfd = 0;
DIR *dirstream;
struct btrfs_ioctl_vol_args args;
u64 dev_block_count = 0;