diff options
author | John Crispin <blogic@openwrt.org> | 2013-07-14 11:56:32 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-07-14 11:56:32 +0200 |
commit | 36d79a90c28ac9d655ccd8261b3ac0b497a5aec1 (patch) | |
tree | f0f59d33a833809e3414dbc91f0d6050a593734c /watchdog.h | |
parent | 434865f6f870f89571d7f2f5fa5690d16d6fb1d9 (diff) | |
download | unitd-36d79a90c28ac9d655ccd8261b3ac0b497a5aec1.tar unitd-36d79a90c28ac9d655ccd8261b3ac0b497a5aec1.zip |
the cloexec logic of the watchdog was broken
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'watchdog.h')
-rw-r--r-- | watchdog.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ #ifndef __PROCD_WATCHDOG_H #define __PROCD_WATCHDOG_H -void watchdog_init(void); +void watchdog_init(int preinit); char* watchdog_fd(void); int watchdog_timeout(int timeout); int watchdog_frequency(int frequency); |