]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
apparmor: Fix build
authorJiri Denemark <jdenemar@redhat.com>
Mon, 17 Dec 2012 20:17:15 +0000 (21:17 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 17 Dec 2012 20:17:55 +0000 (21:17 +0100)
src/security/virt-aa-helper.c

index 888c416c85087689a1ccc0fd44f02eb8ab1dc00c..86fd5c4be0490cb89946517cddd767fdf5ab61f4 100644 (file)
@@ -1022,7 +1022,8 @@ get_files(vahControl * ctl)
             switch (dev->source.subsys.type) {
             case VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_USB: {
                 usbDevice *usb = usbGetDevice(dev->source.subsys.u.usb.bus,
-                                              dev->source.subsys.u.usb.device);
+                                              dev->source.subsys.u.usb.device,
+                                              NULL);
 
                 if (usb == NULL)
                     continue;