]> xenbits.xensource.com Git - xen.git/commitdiff
libxl: add missing "break;" to do_pci_remove
authorIan Campbell <ian.campbell@citrix.com>
Tue, 25 Oct 2011 16:04:41 +0000 (17:04 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 25 Oct 2011 16:04:41 +0000 (17:04 +0100)
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>
Tested-by: Dario Faggioli <dario.faggioli@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_pci.c

index 842d5b04634c882a97d91976b394e053794840cd..33dd0606d4a2ac517d340adaf5f944a3ea39183a 100644 (file)
@@ -930,6 +930,7 @@ skip1:
             }
         }
         fclose(f);
+        break;
     }
     default:
         abort();