1
0
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:
Peter Rajnoha 2009-04-24 11:30:49 +00:00
parent 01c2d76c54
commit 14bd66805e
2 changed files with 2 additions and 1 deletions

View File

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

View File

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