summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-watchdog/src/watchdog.c
diff options
context:
space:
mode:
authoryangfl <yangfl@users.noreply.github.com>2018-08-18 12:21:21 +0800
committeryangfl <yangfl@users.noreply.github.com>2018-10-12 22:18:51 +0800
commit641475ee5948cd5646ad3ee59b8c2f21f8c243b7 (patch)
treec3b3556904d0ea53f74a53d50ff70038969b088c /contrib/package/freifunk-watchdog/src/watchdog.c
parent896892f9afd2180094ca12faa8a0b5a9f2193207 (diff)
freifunk-watchdog: Fix typos
Signed-off-by: David Yang <mmyangfl@gmail.com>
Diffstat (limited to 'contrib/package/freifunk-watchdog/src/watchdog.c')
-rw-r--r--contrib/package/freifunk-watchdog/src/watchdog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/freifunk-watchdog/src/watchdog.c b/contrib/package/freifunk-watchdog/src/watchdog.c
index f546985c9..4bc3ab0b6 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);