diff --git a/tools/command.c b/tools/command.c index fd003f41c..396c5c52f 100644 --- a/tools/command.c +++ b/tools/command.c @@ -128,7 +128,7 @@ const struct lv_type *get_lv_type(int lvt_enum) #endif /* MAN_PAGE_GENERATOR */ -struct command_name_args command_names_args[LVM_COMMAND_COUNT] = { 0 }; +struct command_name_args command_names_args[LVM_COMMAND_COUNT] = { { 0 } }; /* array of pointers into opt_names[] that is sorted alphabetically (by long opt name) */