luci-mod-status: fix average calculations
[oweals/luci.git] / contrib / package / freifunk-watchdog / src / watchdog.c
index ce66adadb4eedd5e322ea56d630c5041b21a1ec8..4bc3ab0b67959be199077c4f85eedc61c1308428 100644 (file)
@@ -13,7 +13,7 @@
  *   along with this program; if not, write to the Free Software
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  *
- *   Copyright (C) 2009 Jo-Philipp Wich <xm@subsignal.org>
+ *   Copyright (C) 2009 Jo-Philipp Wich <jow@openwrt.org>
  */
 
 #include "watchdog.h"
@@ -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);