diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2009-04-24 11:30:49 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2009-04-24 11:30:49 +0000 |
commit | 2dce31a16ae51e025e203b3fd1982dd7ea5a210f (patch) | |
tree | ba73be7046ccda92e549af4e780fe8816b6b2e5c /tools/dmsetup.c | |
parent | 3802b91a4a00f654ffaa47e4526c44b53bf8a83a (diff) | |
download | lvm2-2dce31a16ae51e025e203b3fd1982dd7ea5a210f.tar.gz lvm2-2dce31a16ae51e025e203b3fd1982dd7ea5a210f.tar.xz lvm2-2dce31a16ae51e025e203b3fd1982dd7ea5a210f.zip |
Fix segfault when using -U, -G and -M options in dmsetup.
Diffstat (limited to 'tools/dmsetup.c')
-rw-r--r-- | tools/dmsetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dmsetup.c b/tools/dmsetup.c index 0d6a3712..1194c5f6 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -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; |