summaryrefslogtreecommitdiff
path: root/cmd_device.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-10-05 13:42:19 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-10-08 10:25:36 -0800
commitbf8c59996b3fb2a940827d12438a9e18eca6db4c (patch)
tree86366ab663beeeeec3554ce3407159aaacd70714 /cmd_device.c
parent85ee972555948337bb1a58f0702a4da95db6758f (diff)
Update for new superblock options; makefile improvements
Diffstat (limited to 'cmd_device.c')
-rw-r--r--cmd_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd_device.c b/cmd_device.c
index dea375b3..e5a2f09e 100644
--- a/cmd_device.c
+++ b/cmd_device.c
@@ -203,8 +203,8 @@ int cmd_device_add(int argc, char *argv[])
{ "force", no_argument, NULL, 'f' },
{ NULL }
};
- struct format_opts format_opts = format_opts_default();
- struct dev_opts dev_opts = { 0 };
+ struct format_opts format_opts = format_opts_default();
+ struct dev_opts dev_opts = dev_opts_default();
bool force = false;
int opt;