]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
virsh: Use WITH_SECDRIVER_APPARMOR to detect AppArmor support
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 14 Jan 2011 21:00:55 +0000 (22:00 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 15 Jan 2011 17:52:36 +0000 (18:52 +0100)
There is no ENABLE_SECDRIVER_APPARMOR.

tools/virsh.c

index 64585b798f3ac0f96e47c9501ea6d6fc0362979d..5b26c78ac54589a97455ead0814c0a32734bd02c 100644 (file)
@@ -11854,7 +11854,7 @@ vshShowVersion(vshControl *ctl ATTRIBUTE_UNUSED)
     vshPrint(ctl, "\n");
 
     vshPrint(ctl, "%s", _(" Miscellaneous:"));
-#ifdef ENABLE_SECDRIVER_APPARMOR
+#ifdef WITH_SECDRIVER_APPARMOR
     vshPrint(ctl, " AppArmor");
 #endif
 #ifdef WITH_SECDRIVER_SELINUX