]> Git Repo - qemu.git/blobdiff - iohandler.c
target-sparc: Use DisasCompare and movcond in FMOVR, FMOVCC
[qemu.git] / iohandler.c
index dea43552d2a37fd4d52cd58a8332694aeaf98d9f..a2d871bb919bcad64e6a836cd16b45768be995fa 100644 (file)
@@ -56,6 +56,8 @@ int qemu_set_fd_handler2(int fd,
 {
     IOHandlerRecord *ioh;
 
+    assert(fd >= 0);
+
     if (!fd_read && !fd_write) {
         QLIST_FOREACH(ioh, &io_handlers, next) {
             if (ioh->fd == fd) {
This page took 0.023085 seconds and 4 git commands to generate.