about summary refs log tree commit diff stats
path: root/src/wrapped
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/wrapped
parentfcfd90b86fc5328c6c5c61e2921416c3cc8adba2 (diff)
downloadbox64-009bb94f17803dff459b812d7314e300a1b31e1e.tar.gz
box64-009bb94f17803dff459b812d7314e300a1b31e1e.zip
Changed missed unwanted "box86"
Diffstat (limited to 'src/wrapped')
-rwxr-xr-xsrc/wrapped/wrappedlibc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index 3a8b70ed..9d5168c2 100755
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -404,7 +404,7 @@ pid_t EXPORT my_fork(x64emu_t* emu)
     if(type == EMUTYPE_MAIN)
         thread_set_emu(emu);
     if(v<0) {
-        printf_log(LOG_NONE, "BOX86: Warning, fork errored... (%d)\n", v);
+        printf_log(LOG_NONE, "BOX64: Warning, fork errored... (%d)\n", v);
         // error...
     } else if(v>0) {  
         // execute atforks parent functions
@@ -1525,7 +1525,7 @@ EXPORT int32_t my_execve(x64emu_t* emu, const char* path, char* const argv[], ch
 // execvp should use PATH to search for the program first
 EXPORT int32_t my_execvp(x64emu_t* emu, const char* path, char* const argv[])
 {
-    // need to use BOX86_PATH / PATH here...
+    // need to use BOX64_PATH / PATH here...
     char* fullpath = ResolveFile(path, &my_context->box64_path);
     if(!fullpath)
         fullpath = strdup(path);
@@ -1548,13 +1548,13 @@ EXPORT int32_t my_execvp(x64emu_t* emu, const char* path, char* const argv[])
         free(newargv);
         return ret;
     }
-    // fullpath is gone, so the search will only be on PATH, not on BOX86_PATH (is that an issue?)
+    // fullpath is gone, so the search will only be on PATH, not on BOX64_PATH (is that an issue?)
     return execvp(path, argv);
 }
 
 EXPORT int32_t my_execlp(x64emu_t* emu, const char* path)
 {
-    // need to use BOX86_PATH / PATH here...
+    // need to use BOX64_PATH / PATH here...
     char* fullpath = ResolveFile(path, &my_context->box64_path);
     if(!fullpath)
         fullpath = strdup(path);
@@ -1583,7 +1583,7 @@ EXPORT int32_t my_execlp(x64emu_t* emu, const char* path)
 EXPORT int32_t my_posix_spawnp(x64emu_t* emu, pid_t* pid, const char* path, 
     const posix_spawn_file_actions_t *actions, const posix_spawnattr_t* attrp,  char* const argv[], char* const envp[])
 {
-    // need to use BOX86_PATH / PATH here...
+    // need to use BOX64_PATH / PATH here...
     char* fullpath = ResolveFile(path, &my_context->box64_path);
     // use fullpath...
     int self = isProcSelf(fullpath, "exe");
@@ -1605,7 +1605,7 @@ EXPORT int32_t my_posix_spawnp(x64emu_t* emu, pid_t* pid, const char* path,
         //free(newargv);
         return ret;
     }
-    // fullpath is gone, so the search will only be on PATH, not on BOX86_PATH (is that an issue?)
+    // fullpath is gone, so the search will only be on PATH, not on BOX64_PATH (is that an issue?)
     return posix_spawnp(pid, path, actions, attrp, argv, envp);
 }
 #endif