mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-16 00:03:45 +00:00
Fixed typo
This commit is contained in:
@@ -471,7 +471,7 @@ void ILibDuktape_ScriptContainer_CheckEmbedded(char **script, int *scriptLen)
|
|||||||
int x = readlink("/proc/curproc/file", exePath, sizeof(exePath));
|
int x = readlink("/proc/curproc/file", exePath, sizeof(exePath));
|
||||||
if (x < 0 || x >= sizeof(exePath)) ILIBCRITICALEXIT(246);
|
if (x < 0 || x >= sizeof(exePath)) ILIBCRITICALEXIT(246);
|
||||||
exePath[x] = 0;
|
exePath[x] = 0;
|
||||||
#elif
|
#else
|
||||||
int x = readlink("/proc/self/exe", exePath, sizeof(exePath));
|
int x = readlink("/proc/self/exe", exePath, sizeof(exePath));
|
||||||
if (x < 0 || x >= sizeof(exePath)) ILIBCRITICALEXIT(246);
|
if (x < 0 || x >= sizeof(exePath)) ILIBCRITICALEXIT(246);
|
||||||
exePath[x] = 0;
|
exePath[x] = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user