|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 12/22] bsd-user/freebsd/os-syscall.c: Add get_errno and host_to_target_errno |
| Date: | Wed, 2 Feb 2022 04:39:58 +1100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
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. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
| [Prev in Thread] | Current Thread | [Next in Thread] |