From: Stacey Son <[email protected]> Implement the stat conversion functions: target_to_host_fcntl_cmd
Signed-off-by: Stacey Son <[email protected]> Signed-off-by: Karim Taha <[email protected]> Reviewed-by: Richard Henderson <[email protected]> --- bsd-user/freebsd/os-stat.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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; +} + -- 2.40.0
