aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.statd/procs.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2006-09-13 05:01:25 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2006-09-13 05:01:25 +0000
commite55942e33c36f1a6f8c857d8de83702c5a590664 (patch)
treedaa29c6b4e59983e8ebb130ebd338173dd71256b /usr.sbin/rpc.statd/procs.c
parentd402d62c897b037b2dc3e7d13dc6573e47aa1e34 (diff)
downloadsrc-e55942e33c36f1a6f8c857d8de83702c5a590664.tar.gz
src-e55942e33c36f1a6f8c857d8de83702c5a590664.zip
compile under WARNS=6
Notes
Notes: svn path=/head/; revision=162263
Diffstat (limited to 'usr.sbin/rpc.statd/procs.c')
-rw-r--r--usr.sbin/rpc.statd/procs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/rpc.statd/procs.c b/usr.sbin/rpc.statd/procs.c
index 5a56441338a1..65932fcedabd 100644
--- a/usr.sbin/rpc.statd/procs.c
+++ b/usr.sbin/rpc.statd/procs.c
@@ -31,10 +31,8 @@
*
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdio.h>
@@ -329,6 +327,7 @@ void *sm_simu_crash_1_svc(void *v __unused, struct svc_req *req __unused)
HostInfo *hp;
int i;
+ work_to_do = FALSE;
if (debug) syslog(LOG_DEBUG, "simu_crash called!!");
/* Simulate crash by setting notify-required flag on all monitored */