]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virt-aa-helper: Make getopt accept the p option
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 23 Jul 2010 16:41:42 +0000 (18:41 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 24 Jul 2010 15:15:11 +0000 (17:15 +0200)
Commit 68719c4bddb85fbcc931a5b7d99ac7c8a0af09b0 added the
p option to control disk format probing, but it wasn't added
to the getopt_long optstring parameter.

Add the p option to the getopt_long optstring parameter.

src/security/virt-aa-helper.c

index 3562927d66c1ba72567cd411b8e672e45b58bab0..12996ecbd00a1df89a582499f23f27ddb31a6ae2 100644 (file)
@@ -964,7 +964,7 @@ vahParseArgv(vahControl * ctl, int argc, char **argv)
         {0, 0, 0, 0}
     };
 
-    while ((arg = getopt_long(argc, argv, "acdDhrRH:b:u:f:", opt,
+    while ((arg = getopt_long(argc, argv, "acdDhrRH:b:u:p:f:", opt,
             &idx)) != -1) {
         switch (arg) {
             case 'a':