diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-13 01:14:38 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-13 01:14:38 +0000 |
commit | 4aaac88354b5c41e2628d506938daf857219e186 (patch) | |
tree | b2c5e11bea952ab7e6900e71a90ce310d3f93e8b /usr.sbin/binmiscctl/binmiscctl.c | |
parent | 6a2044f5e3bb23a51d7df898620d9ff780d68e49 (diff) | |
download | FreeBSD-src-4aaac88354b5c41e2628d506938daf857219e186.zip FreeBSD-src-4aaac88354b5c41e2628d506938daf857219e186.tar.gz |
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
Diffstat (limited to 'usr.sbin/binmiscctl/binmiscctl.c')
-rw-r--r-- | usr.sbin/binmiscctl/binmiscctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/binmiscctl/binmiscctl.c b/usr.sbin/binmiscctl/binmiscctl.c index 5ab82e4..57ab2b6 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; |