diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-07-22 19:15:26 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-07-22 19:15:26 +0200 |
| commit | 4a8a3736622a559dee709fe4769cc64704f5b69e (patch) | |
| tree | 2d638085f196ad0e8634b2e6a457e049c15ad456 | |
| parent | fff274b45f90f04544f78d4bb74d23a451c6ec17 (diff) | |
| download | box64-4a8a3736622a559dee709fe4769cc64704f5b69e.tar.gz box64-4a8a3736622a559dee709fe4769cc64704f5b69e.zip | |
[BOX32] Better error on box32 personnality re-launch faillure
| -rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c index 0d5b0367..c42de333 100644 --- a/src/core.c +++ b/src/core.c @@ -1175,7 +1175,7 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf newenv[nenv] = "BOX32_PERSONA32BITS=1"; // re-launch... if(execve(argv[0], (void*)argv, newenv)<0) - printf_log(LOG_NONE, "Failed to relaunch. Error is %d/%s\n", errno, strerror(errno)); + printf_log(LOG_NONE, "Failed to relaunch. Error is %d/%s (argv[0]=\"%s\")\n", errno, strerror(errno), argv[0]); } } } |