diff --git a/usr.sbin/kldxref/ef.c b/usr.sbin/kldxref/ef.c index 88fbc34a43b6..aa3fc2ec2736 100644 --- a/usr.sbin/kldxref/ef.c +++ b/usr.sbin/kldxref/ef.c @@ -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;