mirror of https://github.com/AxioDL/logvisor.git
Fix macOS `atos` invocation
This commit is contained in:
parent
e397cb4b08
commit
f601125b22
|
@ -137,7 +137,7 @@ void logvisorAbort()
|
|||
|
||||
char cmdLine[1024];
|
||||
#if __APPLE__
|
||||
snprintf(cmdLine, 1024, "atos -p %p", getpid());
|
||||
snprintf(cmdLine, 1024, "atos -p %d", getpid());
|
||||
#else
|
||||
snprintf(cmdLine, 1024, "addr2line -C -f -e \"%s\"", exeNameBuffer);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue