From adaa9201352c5788f9568d9b968b9e1b467c759d Mon Sep 17 00:00:00 2001 From: zrj Date: Wed, 31 Jan 2018 14:22:40 +0200 Subject: [PATCH] pflogd(8): Add few fallthrough. --- usr.sbin/pflogd/privsep.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.sbin/pflogd/privsep.c b/usr.sbin/pflogd/privsep.c index 3534392aa7..7597929ab1 100644 --- a/usr.sbin/pflogd/privsep.c +++ b/usr.sbin/pflogd/privsep.c @@ -314,6 +314,7 @@ may_read(int fd, void *buf, size_t n) case -1: if (errno == EINTR || errno == EAGAIN) continue; + /* FALLTHROUGH */ case 0: return (1); default: @@ -338,6 +339,7 @@ must_read(int fd, void *buf, size_t n) case -1: if (errno == EINTR || errno == EAGAIN) continue; + /* FALLTHROUGH */ case 0: _exit(0); default: @@ -361,6 +363,7 @@ must_write(int fd, void *buf, size_t n) case -1: if (errno == EINTR || errno == EAGAIN) continue; + /* FALLTHROUGH */ case 0: _exit(0); default: -- 2.11.4.GIT