diff options
author | Ed Maste <emaste@FreeBSD.org> | 2023-02-23 14:52:14 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2024-01-11 01:28:27 +0000 |
commit | 47c22dcb5e2cf6b4888517287f97ba81ecbbb29c (patch) | |
tree | 0f6cc8ad86c13b795ad7e758a598511b620e11ea | |
parent | 6561a7141b5603235d18538f6c66322ed7fc67d3 (diff) | |
download | src-47c22dcb5e2cf6b4888517287f97ba81ecbbb29c.tar.gz src-47c22dcb5e2cf6b4888517287f97ba81ecbbb29c.zip |
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)
-rw-r--r-- | usr.sbin/efibootmgr/efibootmgr.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |