aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h')
-rw-r--r--emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h b/emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h
new file mode 100644
index 000000000000..cec077643992
--- /dev/null
+++ b/emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h
@@ -0,0 +1,11 @@
+--- bsd-user/freebsd/os-stat.h.orig
++++ bsd-user/freebsd/os-stat.h
+@@ -702,7 +702,7 @@
+ return -TARGET_EFAULT;
+ }
+
+- ret = get_errno(__realpathat(arg1, p, b, arg4, arg5));
++ ret = get_errno(__sys___realpathat(arg1, p, b, arg4, arg5));
+ UNLOCK_PATH(p, arg2);
+ unlock_user(b, arg3, ret);
+