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

[Xen-devel] [PATCH] libxl: add missing "break;" to do_pci_remove



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1317388225 -3600
# Node ID 222533abc1159bfa9c8cd522649c10079f6a6e9c
# Parent  e50da6b98e3d5933b9c98e8f43096fd3ebbae00d
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>

diff -r e50da6b98e3d -r 222533abc115 tools/libxl/libxl_pci.c
--- a/tools/libxl/libxl_pci.c   Thu Sep 29 17:21:32 2011 +0100
+++ b/tools/libxl/libxl_pci.c   Fri Sep 30 14:10:25 2011 +0100
@@ -930,6 +930,7 @@ skip1:
             }
         }
         fclose(f);
+        break;
     }
     default:
         abort();

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


 


Rackspace

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