Re: [libvirt] [PATCH 1/2] xen: fix logic bug

2010-07-29 Thread Daniel Veillard
On Wed, Jul 28, 2010 at 05:34:14PM -0600, Eric Blake wrote: The recent switch to enable -Wlogical-op paid off again. gcc 4.5.0 (rawhide) is smarter than 4.4.4 (Fedora 13). * src/xen/xend_internal.c (xenDaemonAttachDeviceFlags) (xenDaemonUpdateDeviceFlags, xenDaemonDetachDeviceFlags): Use

[libvirt] [PATCH 1/2] xen: fix logic bug

2010-07-28 Thread Eric Blake
The recent switch to enable -Wlogical-op paid off again. gcc 4.5.0 (rawhide) is smarter than 4.4.4 (Fedora 13). * src/xen/xend_internal.c (xenDaemonAttachDeviceFlags) (xenDaemonUpdateDeviceFlags, xenDaemonDetachDeviceFlags): Use correct operator. Signed-off-by: Eric Blake ebl...@redhat.com ---