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];
|
char cmdLine[1024];
|
||||||
#if __APPLE__
|
#if __APPLE__
|
||||||
snprintf(cmdLine, 1024, "atos -p %p", getpid());
|
snprintf(cmdLine, 1024, "atos -p %d", getpid());
|
||||||
#else
|
#else
|
||||||
snprintf(cmdLine, 1024, "addr2line -C -f -e \"%s\"", exeNameBuffer);
|
snprintf(cmdLine, 1024, "addr2line -C -f -e \"%s\"", exeNameBuffer);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue