about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibc.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-05-19 11:18:27 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-05-19 11:18:27 +0200
commitd0da2c24fb072e3a760044780ebb5a08df41aff9 (patch)
tree8e6c4b4075596ce5811069e0f276ab531e7df512 /src/wrapped/wrappedlibc.c
parent152a8a4666f253d367dc664bfd329edf53b3e5b3 (diff)
downloadbox64-d0da2c24fb072e3a760044780ebb5a08df41aff9.tar.gz
box64-d0da2c24fb072e3a760044780ebb5a08df41aff9.zip
Added some more libc wrapped functions
Diffstat (limited to 'src/wrapped/wrappedlibc.c')
-rwxr-xr-xsrc/wrapped/wrappedlibc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index caf22c3c..0e845423 100755
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -840,6 +840,12 @@ EXPORT void my___syslog_chk(x64emu_t* emu, int priority, int flags, const char*
     PREPARE_VALIST;
     return vsyslog(priority, fmt, VARARGS);
 }
+EXPORT void my_vsyslog(x64emu_t* emu, int priority, const char* fmt, x64_va_list_t b)
+{
+    (void)emu;
+    CONVERT_VALIST(b);
+    return vsyslog(priority, fmt, VARARGS);
+}
 
 EXPORT int my___swprintf_chk(x64emu_t* emu, void* s, size_t n, int32_t flag, size_t slen, void* fmt, uint64_t* b)
 {