disk-utils/cfdisk.c:149:77: warning: missing field 'userdata' initializer [-Wmissing-field-initializers] Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- disk-utils/cfdisk.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index fabc397..0325acb 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -146,15 +146,15 @@ struct cfdisk_menu { /* main menu */ static struct cfdisk_menuitem main_menuitems[] = { - { 'b', N_("Bootable"), N_("Toggle bootable flag of the current partition") }, - { 'd', N_("Delete"), N_("Delete the current partition") }, - { 'n', N_("New"), N_("Create new partition from free space") }, - { 'q', N_("Quit"), N_("Quit program without writing partition table") }, - { 't', N_("Type"), N_("Change the partition type") }, - { 'h', N_("Help"), N_("Print help screen") }, - { 's', N_("Sort"), N_("Fix partitions order") }, - { 'W', N_("Write"), N_("Write partition table to disk (this might destroy data)") }, - { 0, NULL, NULL } + { 'b', N_("Bootable"), N_("Toggle bootable flag of the current partition"), NULL }, + { 'd', N_("Delete"), N_("Delete the current partition"), NULL }, + { 'n', N_("New"), N_("Create new partition from free space"), NULL }, + { 'q', N_("Quit"), N_("Quit program without writing partition table"), NULL }, + { 't', N_("Type"), N_("Change the partition type"), NULL }, + { 'h', N_("Help"), N_("Print help screen"), NULL }, + { 's', N_("Sort"), N_("Fix partitions order"), NULL }, + { 'W', N_("Write"), N_("Write partition table to disk (this might destroy data)"), NULL }, + { 0, NULL, NULL, NULL } }; /* top level control struct */ -- 2.1.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html