kldxref: s/sections/segments/ in warning message

The message refers to program header segments, not sections.

PR:		216975
This commit is contained in:
Ed Maste 2017-02-10 19:11:33 +00:00
parent cfff3743cd
commit d65b2f7ed6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313562

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;