aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-03-17 16:22:14 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-03-17 18:27:49 +0000
commit6b3cca76dd3ae464e585f65dff03f431163b07fa (patch)
treea4b582f181ad46eabf3f48e338a8b5ebf2ee89ea
parenteb048026aa818f4e4121829b7b413580d830e738 (diff)
oslib-posix: fix compilation on OpenBSD
si_band is not found in OpenBSD. It is marked as obsolescent in POSIX, so we can delete it without any remorse. Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 20170317152214.6148-1-pbonzini@redhat.com Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--util/oslib-posix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/util/oslib-posix.c b/util/oslib-posix.c
index 94d81b9ec0..3fe6089c3e 100644
--- a/util/oslib-posix.c
+++ b/util/oslib-posix.c
@@ -709,8 +709,6 @@ void sigaction_invoke(struct sigaction *action,
si.si_pid = info->ssi_pid;
si.si_status = info->ssi_status;
si.si_uid = info->ssi_uid;
- } else if (info->ssi_signo == SIGIO) {
- si.si_band = info->ssi_band;
}
action->sa_sigaction(info->ssi_signo, &si, NULL);
}