libkcapi/libkcapi-1.0.3-kcapi-hasher_fix_Werror_implicit-fallthrough.patch
2018-02-25 14:12:04 +01:00

27 lines
707 B
Diff

From 3920f84ce07b0855827898a81969da469a57337f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
Date: Sat, 17 Feb 2018 10:54:22 +0100
Subject: [PATCH] kcapi-hasher: Fix -Werror=implicit-fallthrough
Signed-off-by: Stephan Mueller <smueller@chronox.de>
---
apps/kcapi-hasher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/kcapi-hasher.c b/apps/kcapi-hasher.c
index bb4ac92..f7b056d 100644
--- a/apps/kcapi-hasher.c
+++ b/apps/kcapi-hasher.c
@@ -758,10 +758,10 @@ int main(int argc, char *argv[])
usage(argv[0]);
ret = 0;
goto out;
- }
case 7:
bsd_style = 1;
break;
+ }
break;
case 'v':