git: 2af158ae8313 - main - makefs: add missing break for 'g' case in tarfs test
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Mar 2023 13:11:03 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=2af158ae8313b250077f5ba60dc41fbed4e711af
commit 2af158ae8313b250077f5ba60dc41fbed4e711af
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-03-23 13:08:48 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-03-23 13:10:31 +0000
makefs: add missing break for 'g' case in tarfs test
Reported by: Coverity Scan
CID: 1506954
Fixes: 6cb78fa479c7 ("tarfs: Repeat tests using GNU tar if available.")
Sponsored by: The FreeBSD Foundation
---
tests/sys/fs/tarfs/mktar.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/sys/fs/tarfs/mktar.c b/tests/sys/fs/tarfs/mktar.c
index 391ac9170171..b4ec271c73a1 100644
--- a/tests/sys/fs/tarfs/mktar.c
+++ b/tests/sys/fs/tarfs/mktar.c
@@ -174,6 +174,7 @@ main(int argc, char *argv[])
switch (opt) {
case 'g':
opt_g = true;
+ break;
case 'v':
opt_v = true;
break;