summaryrefslogtreecommitdiffstats
path: root/watchdog.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-14 11:56:32 +0200
committerJohn Crispin <blogic@openwrt.org>2013-07-14 11:56:32 +0200
commit36d79a90c28ac9d655ccd8261b3ac0b497a5aec1 (patch)
treef0f59d33a833809e3414dbc91f0d6050a593734c /watchdog.h
parent434865f6f870f89571d7f2f5fa5690d16d6fb1d9 (diff)
downloadunitd-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/watchdog.h b/watchdog.h
index 66037b1..cebbc33 100644
--- a/watchdog.h
+++ b/watchdog.h
@@ -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);