summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index f4bc308..3b7cb7c 100644
--- a/vm.c
+++ b/vm.c
@@ -3158,7 +3158,7 @@ uc_vm_signal_raise(uc_vm_t *vm, int signo)
vm->signal.raised[signo / 64] |= (1ull << (signo % 64));
- write(vm->signal.sigpipe[1], &signum, sizeof(signum));
+ if (write(vm->signal.sigpipe[1], &signum, sizeof(signum)) == -1) {}
}
int