]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu_command.c: Fix whitespacing within for()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 25 Apr 2013 11:50:31 +0000 (13:50 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 25 Apr 2013 11:52:49 +0000 (13:52 +0200)
After 9d6e56db the syntax-check was unhappy due to wrong whitespacing:

  src/qemu/qemu_command.c:1637: for ( ; a.slot < QEMU_PCI_ADDRESS_SLOT_LAST; a.slot++) {
  maint.mk: incorrect whitespace around brackets, see HACKING for rules
  make: *** [bracket-spacing-check] Error 1

src/qemu/qemu_command.c

index 50281bea5d7bf707e70b3d52de2e57d6654a99a1..1c48cbb94076957b6cc7d07c12d69436a461f2ad 100644 (file)
@@ -1634,7 +1634,7 @@ qemuDomainPCIAddressGetNextSlot(qemuDomainPCIAddressSetPtr addrs,
 
     /* Start the search at the last used bus and slot */
     for (a.slot++; a.bus < addrs->nbuses; a.bus++) {
-        for ( ; a.slot < QEMU_PCI_ADDRESS_SLOT_LAST; a.slot++) {
+        for (; a.slot < QEMU_PCI_ADDRESS_SLOT_LAST; a.slot++) {
             if (!qemuDomainPCIAddressSlotInUse(addrs, &a))
                 goto success;