aboutsummaryrefslogtreecommitdiff
path: root/src/libmach/dwarfpubnames.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-21 02:03:00 +0000
committerrsc <devnull@localhost>2004-04-21 02:03:00 +0000
commit95f57b01e21feb457e79eaf52d593422c318024f (patch)
treef562eff8530b44bb1a02ecb60d8203beb1bcc800 /src/libmach/dwarfpubnames.c
parent87a478a361877db7c4f904da527cb72d4eff6de2 (diff)
downloadplan9port-95f57b01e21feb457e79eaf52d593422c318024f.tar.gz
plan9port-95f57b01e21feb457e79eaf52d593422c318024f.tar.bz2
plan9port-95f57b01e21feb457e79eaf52d593422c318024f.zip
Clean up the dwarf code.
Diffstat (limited to 'src/libmach/dwarfpubnames.c')
-rw-r--r--src/libmach/dwarfpubnames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmach/dwarfpubnames.c b/src/libmach/dwarfpubnames.c
index b09d2866..68ff9116 100644
--- a/src/libmach/dwarfpubnames.c
+++ b/src/libmach/dwarfpubnames.c
@@ -44,7 +44,7 @@ _dwarfnametounit(Dwarf *d, char *name, DwarfBlock *bl, DwarfSym *s)
return -1;
}
s->b.p = d->info.data + unit + off;
- if(dwarfnextsym(d, s, 1) < 0)
+ if(dwarfnextsym(d, s) < 0)
return -1;
if(s->attrs.name==nil || strcmp(s->attrs.name, name)!=0){
werrstr("unexpected name %#q in lookup for %#q", s->attrs.name, name);