diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-17 16:22:14 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-03-17 18:27:49 +0000 |
commit | 6b3cca76dd3ae464e585f65dff03f431163b07fa (patch) | |
tree | a4b582f181ad46eabf3f48e338a8b5ebf2ee89ea /util | |
parent | eb048026aa818f4e4121829b7b413580d830e738 (diff) | |
download | qemu-6b3cca76dd3ae464e585f65dff03f431163b07fa.zip |
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>
Diffstat (limited to 'util')
-rw-r--r-- | util/oslib-posix.c | 2 |
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); } |