svn commit: r314931 - head/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Thu Mar 9 00:56:09 UTC 2017


Author: glebius
Date: Thu Mar  9 00:56:07 2017
New Revision: 314931
URL: https://svnweb.freebsd.org/changeset/base/314931

Log:
  In linker_load_file() print name of a file that failed to load.
  
  Discussed with:	kib

Modified:
  head/sys/kern/kern_linker.c

Modified: head/sys/kern/kern_linker.c
==============================================================================
--- head/sys/kern/kern_linker.c	Thu Mar  9 00:55:19 2017	(r314930)
+++ head/sys/kern/kern_linker.c	Thu Mar  9 00:56:07 2017	(r314931)
@@ -459,7 +459,8 @@ linker_load_file(const char *filename, l
 		 * printout a message before to fail.
 		 */
 		if (error == ENOSYS)
-			printf("linker_load_file: Unsupported file type\n");
+			printf("%s: %s - unsupported file type\n",
+			    __func__, filename);
 
 		/*
 		 * Format not recognized or otherwise unloadable.


More information about the svn-src-head mailing list