From b68002d927b1577bbed453d7bbbe39b55acf7bd0 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sat, 24 Feb 2024 21:28:35 -0800 Subject: Fix META_NOALLOC to META_STATIC in 'bad interpreter' metafy --- Src/exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/exec.c b/Src/exec.c index c75aa78d6..0750738ce 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -551,7 +551,7 @@ zexecve(char *pth, char **argv, char **newenvp) break; if (t0 == ct) zerr("%s: bad interpreter: %s: %e", pth, - metafy(execvebuf + 2, -1, META_NOALLOC), eno); + metafy(execvebuf + 2, -1, META_STATIC), eno); else { while (inblank(execvebuf[t0])) execvebuf[t0--] = '\0'; @@ -575,7 +575,7 @@ zexecve(char *pth, char **argv, char **newenvp) } } zerr("%s: bad interpreter: %s: %e", pth, - metafy(ptr2, -1, META_NOALLOC), eno); + metafy(ptr2, -1, META_STATIC), eno); } else if (*ptr) { *ptr = '\0'; argv[-2] = ptr2; -- cgit 1.4.1