diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index c925df2ad..579f21e30 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ -Version 1.01.05 +Version 1.01.05 - ============================= + Fix termination of getopt_long() option array. Report 'buffer full' condition with v4 ioctl as well as with v1. Version 1.01.04 - 2 Aug 2005 diff --git a/tools/dmsetup.c b/tools/dmsetup.c index c7ce16a4e..a5aa37a3c 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -1041,7 +1041,7 @@ static int _process_switches(int *argc, char ***argv) {"uuid", 1, &ind, UUID_ARG}, {"verbose", 1, &ind, VERBOSE_ARG}, {"version", 0, &ind, VERSION_ARG}, - {"", 0, NULL, 0} + {0, 0, 0, 0} }; #else struct option long_options;