From 36df1a6e92760f877fa909fe55ffbdaa50a672d4 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 2 Dec 2016 11:39:45 +0100 Subject: [PATCH] ss: Mark fall through in arg parsing switch() As there is a certain chance of overlooking this, better add a comment to draw readers' attention. Signed-off-by: Phil Sutter --- misc/ss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/ss.c b/misc/ss.c index 839781ee2..5796d800f 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -4266,6 +4266,7 @@ int main(int argc, char *argv[]) exit(0); case 'z': show_sock_ctx++; + /* fall through */ case 'Z': if (is_selinux_enabled() <= 0) { fprintf(stderr, "ss: SELinux is not enabled.\n"); -- 2.47.2