HomeFreeBSD

fix a watchdogd regression introduced in r308040

Description

fix a watchdogd regression introduced in r308040

The code assumed that 'timeout' and 'timeout_sec' are in sync
which they weren't if no '-t' option was passed to watchdogd.

Reported by: Olivier Smedts <olivier@gid0.org>,

		Alex Deiter <alex.deiter@gmail.com>

Tested by: Olivier Smedts <olivier@gid0.org>,

		Alex Deiter <alex.deiter@gmail.com>

MFC after: 5 days
X-MFC with: r308040

Details

Provenance
avgAuthored on
Parents
rS308478: We can't use protect(1) inside a jail(8)!
Branches
Unknown
Tags
Unknown