btrfs-progs: fix uninit variable in btrfs_scan_kernel

Signed-off-by: Chris Mason <clm@fb.com>
This commit is contained in:
Chris Mason 2014-03-21 06:36:08 -07:00
parent 8d2359c8d9
commit d1fffb0221
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ static int btrfs_scan_kernel(void *search)
struct mntent *mnt; struct mntent *mnt;
struct btrfs_ioctl_fs_info_args fs_info_arg; struct btrfs_ioctl_fs_info_args fs_info_arg;
struct btrfs_ioctl_dev_info_args *dev_info_arg = NULL; struct btrfs_ioctl_dev_info_args *dev_info_arg = NULL;
struct btrfs_ioctl_space_args *space_info_arg; struct btrfs_ioctl_space_args *space_info_arg = NULL;
char label[BTRFS_LABEL_SIZE]; char label[BTRFS_LABEL_SIZE];
f = setmntent("/proc/self/mounts", "r"); f = setmntent("/proc/self/mounts", "r");