diff options
Diffstat (limited to 'src/cmd/acid')
-rw-r--r-- | src/cmd/acid/builtin.c | 4 | ||||
-rw-r--r-- | src/cmd/acid/main.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/acid/builtin.c b/src/cmd/acid/builtin.c index e47e20a8..490c4521 100644 --- a/src/cmd/acid/builtin.c +++ b/src/cmd/acid/builtin.c @@ -1408,8 +1408,8 @@ textfile(Node *r, Node *args) free(correg); mapfile(corhdr, 0, cormap, &correg); } - if(syminit(fp) < 0) - fprint(2, "syminit %s: %r\n", file); + if(symopen(fp) < 0) + fprint(2, "symopen %s: %r\n", file); else addvarsym(fp); return; diff --git a/src/cmd/acid/main.c b/src/cmd/acid/main.c index f1372f84..8f3fbb81 100644 --- a/src/cmd/acid/main.c +++ b/src/cmd/acid/main.c @@ -258,7 +258,7 @@ attachfiles(int argc, char **argv) } if(symhdr) - syminit(symhdr); + symopen(symhdr); if(!mach) mach = machcpu; |