git: 17a5a290032e - main - efibootmgr: add missing break for 'u' case

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Thu, 23 Feb 2023 19:13:42 UTC
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;