mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Fix termination of getopt_long() option array.
This commit is contained in:
parent
721b61a43f
commit
69cfb9203b
@ -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.
|
Report 'buffer full' condition with v4 ioctl as well as with v1.
|
||||||
|
|
||||||
Version 1.01.04 - 2 Aug 2005
|
Version 1.01.04 - 2 Aug 2005
|
||||||
|
@ -1041,7 +1041,7 @@ static int _process_switches(int *argc, char ***argv)
|
|||||||
{"uuid", 1, &ind, UUID_ARG},
|
{"uuid", 1, &ind, UUID_ARG},
|
||||||
{"verbose", 1, &ind, VERBOSE_ARG},
|
{"verbose", 1, &ind, VERBOSE_ARG},
|
||||||
{"version", 0, &ind, VERSION_ARG},
|
{"version", 0, &ind, VERSION_ARG},
|
||||||
{"", 0, NULL, 0}
|
{0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
struct option long_options;
|
struct option long_options;
|
||||||
|
Loading…
Reference in New Issue
Block a user