From 4aaac88354b5c41e2628d506938daf857219e186 Mon Sep 17 00:00:00 2001 From: truckman Date: Fri, 13 May 2016 01:14:38 +0000 Subject: [PATCH] Mark usage() as __dead2 so that Coverity doesn't think that execution continues after the call and uses a negative array subscript. Reported by: Coverity CID: 1305629 --- usr.sbin/binmiscctl/binmiscctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/binmiscctl/binmiscctl.c b/usr.sbin/binmiscctl/binmiscctl.c index 5ab82e4cd42a..57ab2b6f5df1 100644 --- a/usr.sbin/binmiscctl/binmiscctl.c +++ b/usr.sbin/binmiscctl/binmiscctl.c @@ -133,7 +133,7 @@ static char const *cmd_sysctl_name[] = { IBE_SYSCTL_NAME_LIST }; -static void +static void __dead2 usage(const char *format, ...) { va_list args;