Subject: CVS commit: src/sbin/wdogctl
To: None <>
From: David Young <>
List: source-changes
Date: 08/31/2005 18:28:58
Module Name:	src
Committed By:	dyoung
Date:		Wed Aug 31 18:28:58 UTC 2005

Modified Files:
	src/sbin/wdogctl: wdogctl.c

Log Message:
If ioctl(,WDOGIOC_SMODE,) fails, kill the child process before
killing self, instead of the other way around.

Fixes a bug where the child process would use 100% CPU spinning
while it waited for its parent to arm a non-existent watchdog timer.
Now, the child process gets killed, as was intended.

To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sbin/wdogctl/wdogctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.