mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
symopen
This commit is contained in:
parent
6af7b77611
commit
0a76e9690e
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ attachargs(int argc, char **argv, int omode)
|
|||
}
|
||||
|
||||
if(symhdr)
|
||||
syminit(symhdr);
|
||||
symopen(symhdr);
|
||||
|
||||
if(!mach)
|
||||
mach = machcpu;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue