kldxref: s/sections/segments/ in warning message

The message refers to program header segments, not sections.

PR:		216975
This commit is contained in:
emaste 2017-02-10 19:11:33 +00:00
parent c77bfbb1ee
commit 1e27dea9e0

View File

@ -600,7 +600,7 @@ ef_open(const char *filename, struct elf_file *efile, int verbose)
filename);
break;
} else if (nsegs > MAXSEGS) {
warnx("%s: too many sections", filename);
warnx("%s: too many segments", filename);
break;
}
ef->ef_nsegs = nsegs;