1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-31 21:18:26 +03:00

Fix termination of getopt_long() option array.

This commit is contained in:
Alasdair Kergon 2005-08-18 19:40:19 +00:00
parent 7b8c2707bc
commit aa16a9098d
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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;