summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-watchdog
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-10-12 18:09:25 +0300
committerGitHub <noreply@github.com>2018-10-12 18:09:25 +0300
commit1544e10f918a168e8e7860da5e22fb5f294479e5 (patch)
tree61a77a8b04451805f7698011a64eec10f28dd5d3 /contrib/package/freifunk-watchdog
parent896892f9afd2180094ca12faa8a0b5a9f2193207 (diff)
parent282aa6856d5f1029443df4229b10a82e0ca04fb6 (diff)
Merge pull request #2221 from yangfl/master
treewide: Fix typos in UI strings
Diffstat (limited to 'contrib/package/freifunk-watchdog')
-rw-r--r--contrib/package/freifunk-watchdog/src/watchdog.c4
-rw-r--r--contrib/package/freifunk-watchdog/src/watchdog.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/package/freifunk-watchdog/src/watchdog.c b/contrib/package/freifunk-watchdog/src/watchdog.c
index f546985c9c..4bc3ab0b67 100644
--- a/contrib/package/freifunk-watchdog/src/watchdog.c
+++ b/contrib/package/freifunk-watchdog/src/watchdog.c
@@ -21,7 +21,7 @@
/* Global watchdog fd, required by signal handler */
int wdfd = -1;
-/* Handle finished childs */
+/* Handle finished children */
static void sigchld_handler(int sig)
{
pid_t pid;
@@ -406,7 +406,7 @@ static int do_daemon(void)
ioctl(wdfd, WDIOC_SETTIMEOUT, &wdtimeout);
}
- /* Install signal handler to reap childs */
+ /* Install signal handler to reap children */
sa.sa_handler = sigchld_handler;
sa.sa_flags = 0;
sigaction(SIGCHLD, &sa, NULL);
diff --git a/contrib/package/freifunk-watchdog/src/watchdog.h b/contrib/package/freifunk-watchdog/src/watchdog.h
index 6f2382de38..c622856dae 100644
--- a/contrib/package/freifunk-watchdog/src/watchdog.h
+++ b/contrib/package/freifunk-watchdog/src/watchdog.h
@@ -64,7 +64,7 @@
#define WATCH_SHUTDOWN 'V'
#define WATCH_KEEPALIVE '\0'
-/* System load error action and treshold */
+/* System load error action and threshold */
#define LOAD_TRESHOLD 15.00
#define LOAD_ACTION "/sbin/reboot", "/sbin/reboot"