NetBSD/sbin/wdogctl
dyoung fab0410101 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.
2005-08-31 18:28:58 +00:00
..
Makefile
wdogctl.8
wdogctl.c If ioctl(,WDOGIOC_SMODE,) fails, kill the child process before 2005-08-31 18:28:58 +00:00