Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2023 19:13:42 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 17a5a290032e - main - efibootmgr: add missing break for 'u' case
Message-ID:  <202302231913.31NJDgTR091104@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=17a5a290032ef75ed4aa8a2aa68b3a7e08935c1c

commit 17a5a290032ef75ed4aa8a2aa68b3a7e08935c1c
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-02-23 14:52:14 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-02-23 19:13:18 +0000

    efibootmgr: add missing break for 'u' case
    
    Reviewed by:    imp, zlei
    Reported by:    Coverity
    CID:            1505695
    Fixes:          9a7915299484 ("efibootmgr: Add --efidev (-u) to dis...")
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D38747
---
 usr.sbin/efibootmgr/efibootmgr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.sbin/efibootmgr/efibootmgr.c b/usr.sbin/efibootmgr/efibootmgr.c
index 58d83d28d6e5..8d521f86ed04 100644
--- a/usr.sbin/efibootmgr/efibootmgr.c
+++ b/usr.sbin/efibootmgr/efibootmgr.c
@@ -290,6 +290,7 @@ parse_args(int argc, char *argv[])
 		case 'u':
 			opts.find_dev = true;
 			opts.dev = strdup(optarg);
+			break;
 		case 'v':
 			opts.verbose = true;
 			break;



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