summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/secondary.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-09-20 13:23:43 +0000
committerpjd <pjd@FreeBSD.org>2010-09-20 13:23:43 +0000
commit999124921a62d72f625cb9172911994f524abb1e (patch)
treee420234bb5cbaf39d32f2ab59774edccf059143c /sbin/hastd/secondary.c
parent182b83a3dd4f5b93e7e09aa49dfa2c3eb3b5f48f (diff)
downloadFreeBSD-src-999124921a62d72f625cb9172911994f524abb1e.zip
FreeBSD-src-999124921a62d72f625cb9172911994f524abb1e.tar.gz
Add __dead2 to functions that we know they are going to exit.
MFC after: 3 days
Diffstat (limited to 'sbin/hastd/secondary.c')
-rw-r--r--sbin/hastd/secondary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/secondary.c b/sbin/hastd/secondary.c
index fa898ec..6f56239 100644
--- a/sbin/hastd/secondary.c
+++ b/sbin/hastd/secondary.c
@@ -519,7 +519,7 @@ end:
return (hio->hio_error);
}
-static void
+static __dead2 void
secondary_exit(int exitcode, const char *fmt, ...)
{
va_list ap;
OpenPOWER on IntegriCloud