qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 12/22] bsd-user/freebsd/os-syscall.c: Add get_errno and host_


From: Warner Losh
Subject: Re: [PATCH 12/22] bsd-user/freebsd/os-syscall.c: Add get_errno and host_to_target_errno
Date: Tue, 1 Feb 2022 16:27:21 -0700



On Tue, Feb 1, 2022 at 10:40 AM Richard Henderson <richard.henderson@linaro.org> wrote:
On 2/1/22 22:14, Warner Losh wrote:
> +/*
> + * errno conversion.
> + */
> +abi_long get_errno(abi_long ret)
> +{
> +
> +    if (ret == -1) {

Watch the extra blank lines.

Will do.  It's a FreeBSD fetish that has infected this code... :)
 
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Thanks!

Warner
 


r~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]