From owner-svn-src-head@freebsd.org Fri Jul 27 22:31:39 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E93810590B8; Fri, 27 Jul 2018 22:31:39 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4512F8CB3A; Fri, 27 Jul 2018 22:31:39 +0000 (UTC) (envelope-from imp@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 263FF1DE51; Fri, 27 Jul 2018 22:31:39 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6RMVcFD041345; Fri, 27 Jul 2018 22:31:38 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6RMVc8d041344; Fri, 27 Jul 2018 22:31:38 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201807272231.w6RMVc8d041344@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Fri, 27 Jul 2018 22:31:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336792 - head/stand/efi/loader X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: head/stand/efi/loader X-SVN-Commit-Revision: 336792 X-SVN-Commit-Repository: base 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.27 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: Fri, 27 Jul 2018 22:31:39 -0000 Author: imp Date: Fri Jul 27 22:31:38 2018 New Revision: 336792 URL: https://svnweb.freebsd.org/changeset/base/336792 Log: Style nits noted by rpokala Modified: head/stand/efi/loader/main.c Modified: head/stand/efi/loader/main.c ============================================================================== --- head/stand/efi/loader/main.c Fri Jul 27 22:29:20 2018 (r336791) +++ head/stand/efi/loader/main.c Fri Jul 27 22:31:38 2018 (r336792) @@ -365,7 +365,6 @@ match_boot_info(EFI_LOADED_IMAGE *img __unused, char * * path in it. Those show up as various VenHw() nodes * which are basically opaque to us. Don't count those * as something specifc. - * path in it... */ if (last_dp == first_dp) { printf("Ignoring Boot%04x: Only one DP found\n", boot_current); @@ -386,7 +385,7 @@ match_boot_info(EFI_LOADED_IMAGE *img __unused, char * return BAD_CHOICE; } set_currdev_pdinfo(pp); - if (!sanity_check_currdev()){ + if (!sanity_check_currdev()) { printf("Ignoring Boot%04x: sanity check failed\n", boot_current); return BAD_CHOICE; }