about summary refs log tree commit diff stats
path: root/src/libtools
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2021-04-09 17:52:25 +0200
committerrajdakin <rajdakin@gmail.com>2021-04-09 17:52:25 +0200
commit009bb94f17803dff459b812d7314e300a1b31e1e (patch)
treec9f91b7f6a19ad192ec0c3e371fe83f36ae91234 /src/libtools
parentfcfd90b86fc5328c6c5c61e2921416c3cc8adba2 (diff)
downloadbox64-009bb94f17803dff459b812d7314e300a1b31e1e.tar.gz
box64-009bb94f17803dff459b812d7314e300a1b31e1e.zip
Changed missed unwanted "box86"
Diffstat (limited to 'src/libtools')
-rwxr-xr-xsrc/libtools/signals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtools/signals.c b/src/libtools/signals.c
index 6b936f18..a0126748 100755
--- a/src/libtools/signals.c
+++ b/src/libtools/signals.c
@@ -267,7 +267,7 @@ static void sigstack_key_alloc() {
 uint64_t RunFunctionHandler(int* exit, uintptr_t fnc, int nargs, ...)
 {
     if(fnc==0 || fnc==1) {
-        printf_log(LOG_NONE, "BOX86: Warning, calling Signal function handler %s\n", fnc?"SIG_DFL":"SIG_IGN");
+        printf_log(LOG_NONE, "BOX64: Warning, calling Signal function handler %s\n", fnc?"SIG_DFL":"SIG_IGN");
         return 0;
     }
 #ifdef HAVE_TRACE
@@ -561,7 +561,7 @@ void my_sigactionhandler_oldcode(int32_t sig, siginfo_t* info, void * ucntx, int
         } else {
             sigcontext->uc_mcontext.gregs[X64_TRAPNO] = (info->si_code == SEGV_ACCERR)?13:14;
             //X64_ERR seems to be INT:8 CODE:8. So for write access segfault it's 0x0002 For a read it's 0x0004 (and 8 for exec). For an int 2d it could be 0x2D01 for example
-            sigcontext->uc_mcontext.gregs[X64_ERR] = 0x0004;    // read error? there is no execute control in box86 anyway
+            sigcontext->uc_mcontext.gregs[X64_ERR] = 0x0004;    // read error? there is no execute control in box64 anyway
         }
         if(info->si_code == SEGV_ACCERR && old_code)
             *old_code = -1;