diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/kldxref/kldxref.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c index 3beed7a..c095e9cc 100644 --- a/usr.sbin/kldxref/kldxref.c +++ b/usr.sbin/kldxref/kldxref.c @@ -187,7 +187,7 @@ parse_entry(struct mod_metadata *md, const char *cval, printf(" module %s\n", cval); break; default: - warnx("unknown metdata record %d in file %s", md->md_type, kldname); + warnx("unknown metadata record %d in file %s", md->md_type, kldname); } if (!error) record_end(); @@ -344,6 +344,9 @@ main(int argc, char *argv[]) } if (p->fts_info != FTS_F) continue; + if (p->fts_namelen >= 8 && + strcmp(p->fts_name + p->fts_namelen - 8, ".symbols") == 0) + continue; read_kld(p->fts_path, p->fts_name); } fts_close(ftsp); |