git: 47c22dcb5e2c - stable/13 - efibootmgr: add missing break for 'u' case

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 01:28:35 UTC
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=47c22dcb5e2cf6b4888517287f97ba81ecbbb29c

commit 47c22dcb5e2cf6b4888517287f97ba81ecbbb29c
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-02-23 14:52:14 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-01-11 01:28:27 +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
    
    (cherry picked from commit 17a5a290032ef75ed4aa8a2aa68b3a7e08935c1c)
---
 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 b779d7572070..b0d023e3539c 100644
--- a/usr.sbin/efibootmgr/efibootmgr.c
+++ b/usr.sbin/efibootmgr/efibootmgr.c
@@ -287,6 +287,7 @@ parse_args(int argc, char *argv[])
 		case 'u':
 			opts.find_dev = true;
 			opts.dev = strdup(optarg);
+			break;
 		case 'v':
 			opts.verbose = true;
 			break;