about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-09-26 13:07:07 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-09-26 13:07:07 +0200
commit4cac721e747ab44819925b9140831dab11ca56b6 (patch)
treeb1157478d490113b37cb77339398917f53b2cd5b /src
parent3fda41cbf66d223dba1da4e2d9d05f31978795bf (diff)
downloadbox64-4cac721e747ab44819925b9140831dab11ca56b6.tar.gz
box64-4cac721e747ab44819925b9140831dab11ca56b6.zip
Yeah, that too should help fix build for the untested loogarch64 support
Diffstat (limited to 'src')
-rwxr-xr-xsrc/wrapped/wrappedudev0.c2
-rwxr-xr-xsrc/wrapped/wrappedudev1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wrapped/wrappedudev0.c b/src/wrapped/wrappedudev0.c
index 06236d71..0ce2b65f 100755
--- a/src/wrapped/wrappedudev0.c
+++ b/src/wrapped/wrappedudev0.c
@@ -72,7 +72,7 @@ static void my_log_fn_##A(void* udev, int p, void *f, int l, void* fn, void* fmt
 static uintptr_t my_log_fn_fct_##A = 0;                                                                 \
 static void my_log_fn_##A(void* udev, int p, void *f, int l, void* fn, void* fmt, x64_va_list_t args)   \
 {                                                                                                       \
-    CREATE_VALIST_FROM_VALIST(b, thread_get_emu()->scratch);                                            \
+    CREATE_VALIST_FROM_VALIST(args, thread_get_emu()->scratch);                                         \
     RunFunction(my_context, my_log_fn_fct_##A, 7, udev, p, f, l, fn, fmt, VARARGS);                     \
 }
 #endif
diff --git a/src/wrapped/wrappedudev1.c b/src/wrapped/wrappedudev1.c
index 5853a9a0..0835bcba 100755
--- a/src/wrapped/wrappedudev1.c
+++ b/src/wrapped/wrappedudev1.c
@@ -72,7 +72,7 @@ static void my_log_fn_##A(void* udev, int p, void *f, int l, void* fn, void* fmt
 static uintptr_t my_log_fn_fct_##A = 0;                                                                 \
 static void my_log_fn_##A(void* udev, int p, void *f, int l, void* fn, void* fmt, x64_va_list_t args)   \
 {                                                                                                       \
-    CREATE_VALIST_FROM_VALIST(b, thread_get_emu()->scratch);                                            \
+    CREATE_VALIST_FROM_VALIST(args, thread_get_emu()->scratch);                                         \
     RunFunction(my_context, my_log_fn_fct_##A, 7, udev, p, f, l, fn, fmt, VARARGS);                     \
 }
 #endif