Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- sys-utils/dmesg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c index 4544388..92de6e2 100644 --- a/sys-utils/dmesg.c +++ b/sys-utils/dmesg.c @@ -591,6 +591,8 @@ static ssize_t read_buffer(struct dmesg_control *ctl, char **buf) if (n == 0 && ctl->action == SYSLOG_ACTION_READ_CLEAR) n = klogctl(SYSLOG_ACTION_CLEAR, NULL, 0); break; + default: + abort(); /* impossible method -> drop core */ } return n; -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html