about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibc.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-05-09 20:11:03 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-05-09 20:11:03 +0200
commitb1b558d244c58af6a5c56acdd0307533b51cc85c (patch)
treebd80e92ee4315f952973e87839491b53a852fcc3 /src/wrapped/wrappedlibc.c
parent6ef734960abfb83501cf2236ae41624c0375f570 (diff)
downloadbox64-b1b558d244c58af6a5c56acdd0307533b51cc85c.tar.gz
box64-b1b558d244c58af6a5c56acdd0307533b51cc85c.zip
Small change to avoid wlib_t declaration in wrappedlibs.h (from box86)
Diffstat (limited to 'src/wrapped/wrappedlibc.c')
-rwxr-xr-xsrc/wrapped/wrappedlibc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index 8fe3c13e..5e3ebd40 100755
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -2731,7 +2731,7 @@ EXPORT char my___libc_single_threaded = 0;
     my___progname = my_program_invocation_short_name =                          \
         strrchr(box64->argv[0], '/') + 1;                                       \
     getMy(lib);                                                                 \
-    setNeededLibs(&lib->priv.w, 3,                                              \
+    setNeededLibs(lib, 3,                                              \
         "ld-linux-x86-64.so.2",                                                 \
         "libpthread.so.0",                                                      \
         "librt.so.1");