diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64tls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/x64tls.c b/src/emu/x64tls.c index 3e9e5a1e..83fc1f62 100644 --- a/src/emu/x64tls.c +++ b/src/emu/x64tls.c @@ -144,7 +144,7 @@ static const char* arch_prctl_param(int code) } int my_arch_prctl(x64emu_t *emu, int code, void* addr) { - printf_log(/*LOG_DEBUG*/LOG_INFO, "%04d| arch_prctl(%s, %p) (RSP=%p, FS=0x%x, GS=0x%x)\n", GetTID(), arch_prctl_param(code), addr,(void*)R_RSP, emu->segs[_FS], emu->segs[_GS]); + printf_log(LOG_DEBUG, "%04d| arch_prctl(%s, %p) (RSP=%p, FS=0x%x, GS=0x%x)\n", GetTID(), arch_prctl_param(code), addr,(void*)R_RSP, emu->segs[_FS], emu->segs[_GS]); #define ARCH_SET_GS 0x1001 #define ARCH_SET_FS 0x1002 @@ -172,11 +172,11 @@ int my_arch_prctl(x64emu_t *emu, int code, void* addr) idx=i; // found... if(idx!=-1) { - printf_log(/*LOG_DEBUG*/LOG_INFO, "Changing segment selector from 0x%x to 0x%x\n", emu->segs[seg], (idx<<3) +3); + printf_log(LOG_DEBUG, "Changing segment selector from 0x%x to 0x%x\n", emu->segs[seg], (idx<<3) +3); emu->segs[seg]=(idx<<3) +3; } if(emu->segs[seg]==0) { - printf_log(/*LOG_DEBUG*/LOG_INFO, "Warning, set seg, but it's 0!\n"); + printf_log(LOG_DEBUG, "Warning, set seg, but it's 0!\n"); errno = EINVAL; return -1; } |