mirror of
https://github.com/janet-lang/janet
synced 2026-01-19 09:30:22 +00:00
Fix reference.
This commit is contained in:
@@ -1328,7 +1328,7 @@ static Janet os_execute_impl(int32_t argc, Janet *argv, JanetExecuteMode mode) {
|
||||
msgbuf,
|
||||
sizeof(msgbuf),
|
||||
NULL);
|
||||
if (!*msgbuf) sprintf(msgbuf, "%d", code);
|
||||
if (!*msgbuf) sprintf(msgbuf, "%d", cp_error_code);
|
||||
char *c = msgbuf;
|
||||
while (*c) {
|
||||
if (*c == '\n' || *c == '\r') {
|
||||
|
||||
Reference in New Issue
Block a user