From owner-svn-src-head@freebsd.org Thu Mar 9 00:56:09 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13233D03436; Thu, 9 Mar 2017 00:56:09 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D46C21ED8; Thu, 9 Mar 2017 00:56:08 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v290u7cf050622; Thu, 9 Mar 2017 00:56:07 GMT (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v290u7v4050621; Thu, 9 Mar 2017 00:56:07 GMT (envelope-from glebius@FreeBSD.org) Message-Id: <201703090056.v290u7v4050621@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: glebius set sender to glebius@FreeBSD.org using -f From: Gleb Smirnoff Date: Thu, 9 Mar 2017 00:56:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314931 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2017 00:56:09 -0000 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.