summaryrefslogtreecommitdiff
path: root/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs.c')
-rw-r--r--mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs.c b/mkfs.c
index 1cddaad..59dd884 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -1516,7 +1516,7 @@ int main(int ac, char **av)
mkfs_cfg.stripesize = stripesize;
mkfs_cfg.features = features;
- ret = make_btrfs(fd, file, &mkfs_cfg);
+ ret = make_btrfs(fd, &mkfs_cfg);
if (ret) {
fprintf(stderr, "error during mkfs: %s\n", strerror(-ret));
exit(1);