btrfs-progs: close all fs_devices before exit in some commands
[platform/upstream/btrfs-progs.git] / utils.h
diff --git a/utils.h b/utils.h
index 1c76345..94606ed 100644 (file)
--- a/utils.h
+++ b/utils.h
@@ -116,7 +116,7 @@ struct btrfs_mkfs_config {
        u64 features;
 };
 
-int make_btrfs(int fd, const char *device, struct btrfs_mkfs_config *cfg);
+int make_btrfs(int fd, struct btrfs_mkfs_config *cfg);
 int btrfs_make_root_dir(struct btrfs_trans_handle *trans,
                        struct btrfs_root *root, u64 objectid);
 int btrfs_prepare_device(int fd, char *file, int zero_end, u64 *block_count_ret,