From owner-svn-src-head@freebsd.org Sat Feb 18 18:57:31 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 24AB4CE430D; Sat, 18 Feb 2017 18:57:31 +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 DA3FF101C; Sat, 18 Feb 2017 18:57:30 +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 v1IIvT2m051507; Sat, 18 Feb 2017 18:57:29 GMT (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1IIvTUJ051506; Sat, 18 Feb 2017 18:57:29 GMT (envelope-from glebius@FreeBSD.org) Message-Id: <201702181857.v1IIvTUJ051506@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: glebius set sender to glebius@FreeBSD.org using -f From: Gleb Smirnoff Date: Sat, 18 Feb 2017 18:57:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r313920 - head/sbin/kldload 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: Sat, 18 Feb 2017 18:57:31 -0000 Author: glebius Date: Sat Feb 18 18:57:29 2017 New Revision: 313920 URL: https://svnweb.freebsd.org/changeset/base/313920 Log: Fix the last case when kldload(8) wasn't printing the name of the module that failed to load. Modified: head/sbin/kldload/kldload.c Modified: head/sbin/kldload/kldload.c ============================================================================== --- head/sbin/kldload/kldload.c Sat Feb 18 18:31:42 2017 (r313919) +++ head/sbin/kldload/kldload.c Sat Feb 18 18:57:29 2017 (r313920) @@ -177,9 +177,9 @@ main(int argc, char** argv) break; case ENOEXEC: warnx("an error occurred while " - "loading the module. " + "loading module %s. " "Please check dmesg(8) for " - "more details."); + "more details.", argv[0]); break; default: warn("can't load %s", argv[0]);