Skip to content

Commit

Permalink
libxl: add missing "break;" to do_pci_remove
Browse files Browse the repository at this point in the history
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 <[email protected]>
Tested-by: Dario Faggioli <[email protected]>
Committed-by: Ian Jackson <[email protected]>
  • Loading branch information
Ian Campbell committed Oct 25, 2011
1 parent ac97fa6 commit fd0c0d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/libxl/libxl_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,7 @@ static int do_pci_remove(libxl__gc *gc, uint32_t domid,
}
}
fclose(f);
break;
}
default:
abort();
Expand Down

0 comments on commit fd0c0d0

Please sign in to comment.