mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-24 06:04:19 +03:00
Fix segfault when using -U, -G and -M options in dmsetup.
This commit is contained in:
parent
01c2d76c54
commit
14bd66805e
@ -1,5 +1,6 @@
|
||||
Version 1.02.32 -
|
||||
================================
|
||||
Fix segfault when using -U, -G and -M options in dmsetup.
|
||||
|
||||
Version 1.02.31 - 3rd March 2009
|
||||
================================
|
||||
|
@ -2565,7 +2565,7 @@ static int _process_switches(int *argc, char ***argv, const char *dev_dir)
|
||||
|
||||
optarg = 0;
|
||||
optind = OPTIND_INIT;
|
||||
while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCfGj:m:Mno:O:ru:Uv",
|
||||
while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCfG:j:m:M:no:O:ru:U:v",
|
||||
long_options, NULL)) != -1) {
|
||||
if (c == ':' || c == '?')
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user