From: Stacey Son Date: Sun, 13 Aug 2023 08:41:36 +0000 (+0200) Subject: bsd-user: Implement target_to_host_fcntl_cmd X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=584d6fce65bd80335795d80c0e9bf1062ef3c4f6;p=qemu.git bsd-user: Implement target_to_host_fcntl_cmd Implement the stat conversion functions: target_to_host_fcntl_cmd Signed-off-by: Stacey Son Signed-off-by: Karim Taha Reviewed-by: Richard Henderson Signed-off-by: Warner Losh --- diff --git a/bsd-user/freebsd/os-stat.c b/bsd-user/freebsd/os-stat.c index 9eb01bf664..2ce235d5da 100644 --- a/bsd-user/freebsd/os-stat.c +++ b/bsd-user/freebsd/os-stat.c @@ -170,3 +170,11 @@ abi_long h2t_freebsd11_statfs(abi_ulong target_addr, return 0; } +/* + * fcntl cmd conversion + */ +abi_long target_to_host_fcntl_cmd(int cmd) +{ + return cmd; +} +