aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-07 20:45:11 +0000
committerrsc <devnull@localhost>2005-01-07 20:45:11 +0000
commit8b549a62142839c7e184939fe56850987dded578 (patch)
treea4a3b9c9b28593b366e099815e6c4cba4ac57c2d /src/cmd/acid
parent1ab0f6f00bbbb313ddc79f3905546124363079d6 (diff)
downloadplan9port-8b549a62142839c7e184939fe56850987dded578.tar.gz
plan9port-8b549a62142839c7e184939fe56850987dded578.tar.bz2
plan9port-8b549a62142839c7e184939fe56850987dded578.zip
symopen
Diffstat (limited to 'src/cmd/acid')
-rw-r--r--src/cmd/acid/builtin.c4
-rw-r--r--src/cmd/acid/main.c2
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;