Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2018 22:37:54 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r329246 - stable/11/usr.sbin/kldxref
Message-ID:  <201802132237.w1DMbs7p049423@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Feb 13 22:37:54 2018
New Revision: 329246
URL: https://svnweb.freebsd.org/changeset/base/329246

Log:
  MFC r327503: kldxref: correct function names in warning messages
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/11/usr.sbin/kldxref/ef.c
  stable/11/usr.sbin/kldxref/ef_obj.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/kldxref/ef.c
==============================================================================
--- stable/11/usr.sbin/kldxref/ef.c	Tue Feb 13 21:33:40 2018	(r329245)
+++ stable/11/usr.sbin/kldxref/ef.c	Tue Feb 13 22:37:54 2018	(r329246)
@@ -473,7 +473,7 @@ ef_seg_read_rel(elf_file_t ef, Elf_Off offset, size_t 
 
 	if (ofs == 0) {
 		if (ef->ef_verbose)
-			warnx("ef_seg_read(%s): zero offset (%lx:%ld)",
+			warnx("ef_seg_read_rel(%s): zero offset (%lx:%ld)",
 			    ef->ef_name, (long)offset, ofs);
 		return EFAULT;
 	}

Modified: stable/11/usr.sbin/kldxref/ef_obj.c
==============================================================================
--- stable/11/usr.sbin/kldxref/ef_obj.c	Tue Feb 13 21:33:40 2018	(r329245)
+++ stable/11/usr.sbin/kldxref/ef_obj.c	Tue Feb 13 22:37:54 2018	(r329246)
@@ -225,7 +225,7 @@ ef_obj_seg_read(elf_file_t ef, Elf_Off offset, size_t 
 
 	if (offset + len > ef->size) {
 		if (ef->ef_verbose)
-			warnx("ef_seg_read_rel(%s): bad offset/len (%lx:%ld)",
+			warnx("ef_obj_seg_read(%s): bad offset/len (%lx:%ld)",
 			    ef->ef_name, (long)offset, (long)len);
 		return (EFAULT);
 	}
@@ -244,7 +244,7 @@ ef_obj_seg_read_rel(elf_file_t ef, Elf_Off offset, siz
 
 	if (offset + len > ef->size) {
 		if (ef->ef_verbose)
-			warnx("ef_seg_read_rel(%s): bad offset/len (%lx:%ld)",
+			warnx("ef_obj_seg_read_rel(%s): bad offset/len (%lx:%ld)",
 			    ef->ef_name, (long)offset, (long)len);
 		return (EFAULT);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802132237.w1DMbs7p049423>