Skip .symbols files.
This commit is contained in:
parent
16902e8a3f
commit
9f5529b45a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152302
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user