commit 0a76e9690e8e9e128a9836a338deb32310e49cb3
parent 6af7b776112bdc45bc8168ea5dc2fc4eb94180d7
Author: rsc <devnull@localhost>
Date: Fri, 7 Jan 2005 23:10:37 +0000
symopen
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libmach/cmdline.c b/src/libmach/cmdline.c
@@ -102,7 +102,7 @@ attachargs(int argc, char **argv, int omode)
}
if(symhdr)
- syminit(symhdr);
+ symopen(symhdr);
if(!mach)
mach = machcpu;
diff --git a/src/libmach/elfdl386.c b/src/libmach/elfdl386.c
@@ -124,7 +124,7 @@ print("elfdl386mapdl\n");
unmapfile(corhdr, cormap);
mapfile(hdr, addr, cormap, nil);
}
- if(syminit(hdr) < 0)
+ if(symopen(hdr) < 0)
fprint(2, "syminit %s: %\r", buf);
}
}