[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: add missing "break; " to do_pci_remove



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1319558681 -3600
# Node ID f273bce1fc265b9f71879705639a0b14da03f6e1
# Parent  51a0c81a40302ac8fd0ce8066ba16d2e3fdd7664
libxl: add missing "break;" to do_pci_remove

Otherwise we erroneously fall through the LIBXL_DOMAIN_TYPE_PV case into the
"default: abort()".

(I'm sure we fixed this once already...)

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Tested-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 51a0c81a4030 -r f273bce1fc26 tools/libxl/libxl_pci.c
--- a/tools/libxl/libxl_pci.c   Tue Oct 25 16:48:17 2011 +0100
+++ b/tools/libxl/libxl_pci.c   Tue Oct 25 17:04:41 2011 +0100
@@ -930,6 +930,7 @@
             }
         }
         fclose(f);
+        break;
     }
     default:
         abort();

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.