btrfs-progs: device scan: constify path argument

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2019-03-01 14:01:25 +01:00
parent dff3fb19d7
commit 6d3458dcfd
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ static int cmd_device_delete(int argc, char **argv)
return _cmd_device_remove(argc, argv, cmd_device_delete_usage);
}
static int btrfs_forget_devices(char *path)
static int btrfs_forget_devices(const char *path)
{
struct btrfs_ioctl_vol_args args;
int ret;