diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-11 14:20:13 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-11 14:20:13 +0200 |
commit | 550b6d1aad832fc6155c776a8192cb457d2b1175 (patch) | |
tree | 19852b6e39b469cc25d27c47934c01b51626f366 /sys/src/cmd/qa/lex.c | |
parent | ca9d65e40b3f78d2580fff9ff1844bad1be08673 (diff) |
qa: remove ALLOC() and ALLOCN() macros
Diffstat (limited to 'sys/src/cmd/qa/lex.c')
-rw-r--r-- | sys/src/cmd/qa/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/qa/lex.c b/sys/src/cmd/qa/lex.c index e1af336a2..85f530fa0 100644 --- a/sys/src/cmd/qa/lex.c +++ b/sys/src/cmd/qa/lex.c @@ -675,9 +675,9 @@ cinit(void) s->type = itab[i].type; s->value = itab[i].value; } - ALLOCN(pathname, 0, 100); + pathname = allocn(pathname, 0, 100); if(mygetwd(pathname, 99) == 0) { - ALLOCN(pathname, 100, 900); + pathname = allocn(pathname, 100, 900); if(mygetwd(pathname, 999) == 0) strcpy(pathname, "/???"); } |