diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-11-21 22:20:28 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-11-21 22:20:28 +0100 |
| commit | 07767d42ccd1a09fb78ccae6571d2a99a1d3b925 (patch) | |
| tree | 0d77b4639250b6bdbe18e2cb4c70684853ca12be /src/emu | |
| parent | 9d97ce087a460b6b5be721b3673ac1543eb77484 (diff) | |
| download | box64-07767d42ccd1a09fb78ccae6571d2a99a1d3b925.tar.gz box64-07767d42ccd1a09fb78ccae6571d2a99a1d3b925.zip | |
Fixed some issue with getopt (for #170)
Diffstat (limited to 'src/emu')
| -rwxr-xr-x | src/emu/x64int3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64int3.c b/src/emu/x64int3.c index e8fc3ad7..86f1f0af 100755 --- a/src/emu/x64int3.c +++ b/src/emu/x64int3.c @@ -103,7 +103,7 @@ void x64Int3(x64emu_t* emu) perr = 1; } else if (!strcmp(s, "fopen") || !strcmp(s, "fopen64")) { tmp = (char*)(R_RDI); - snprintf(buff, 255, "%04d|%p: Calling %s(\"%s\", %d)", tid, *(void**)(R_RSP), s, (tmp)?tmp:"(nil)", (int)(R_ESI)); + snprintf(buff, 255, "%04d|%p: Calling %s(\"%s\", \"%s\")", tid, *(void**)(R_RSP), s, (tmp)?tmp:"(nil)", (char*)(R_RSI)); perr = 2; } else if (!strcmp(s, "__openat64") || !strcmp(s, "openat64") || !strcmp(s, "__openat64_2")) { tmp = (char*)(R_RSI); |