Skip to contentSkip to conversation

libxl: add missing "break;" to do_pci_remove

PATCH Superseded Ian Campbell 1 participant 1 message Sep 30, 2011

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: add missing "break;" to do_pci_remove

# HG changeset patch
# User Ian Campbell <[email protected]> # 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...)

tools/libxl/libxl_pci.c +1 -0
diff -r e50da6b98e3d -r 222533abc115 tools/libxl/libxl_pci.c
@@ -930,6 +930,7 @@ skip1:
             }
         }
         fclose(f);
+        break;
     }
     default:
         abort();