Ian Campbell
2011-Sep-30 13:10 UTC
[Xen-devel] [PATCH] libxl: add missing "break;" to do_pci_remove
# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# 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@citrix.com>
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@lists.xensource.com
http://lists.xensource.com/xen-devel