[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] oslib-posix: fix compilation on OpenBSD
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] oslib-posix: fix compilation on OpenBSD |
Date: |
Sat, 18 Mar 2017 17:24:13 +0000 |
On 17 March 2017 at 15:22, Paolo Bonzini <address@hidden> wrote:
> 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 <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> util/oslib-posix.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/util/oslib-posix.c b/util/oslib-posix.c
> index 94d81b9..3fe6089 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);
> }
> --
> 2.9.3
Applied to master as a buildfix, thanks.
-- PMM