mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-18 21:15:33 +00:00
btrfs-progs: switch is_btrfs to bool in check_mounted_where
The variable 'is_btrfs' is declared as an integer but should be a boolean instead. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
177a2eeadb
commit
626d53fc75
@ -57,7 +57,7 @@ int check_mounted_where(int fd, const char *file, char *where, int size,
|
||||
{
|
||||
int ret;
|
||||
u64 total_devs = 1;
|
||||
int is_btrfs;
|
||||
bool is_btrfs;
|
||||
struct btrfs_fs_devices *fs_devices_mnt = NULL;
|
||||
FILE *f;
|
||||
struct mntent *mnt;
|
||||
|
Loading…
Reference in New Issue
Block a user