]> arthur.barton.de Git - netatalk.git/commitdiff
afpd: SIGCHLD, not SIGCLD
authorRalph Boehme <rb@sernet.de>
Thu, 7 Aug 2014 11:17:40 +0000 (13:17 +0200)
committerRalph Boehme <rb@sernet.de>
Thu, 7 Aug 2014 11:17:40 +0000 (13:17 +0200)
Signed-off-by: Ralph Boehme <rb@sernet.de>
etc/afpd/afp_dsi.c

index 98404ce20f588c849faba4c66cb02dc5b5db211a..a6de766aad2d54c92ab17778a685a2261e0a7220 100644 (file)
@@ -436,13 +436,13 @@ void afp_over_dsi_sighandlers(AFPObj *obj)
     }
 #endif /* DEBUGGING */
 
-    /*  SIGCLD */
+    /*  SIGCHLD */
     action.sa_handler = child_handler;
 #ifdef SA_NOCLDWAIT
 /* this enhancement simplifies things for Solaris, it also improves performance */
     action.sa_flags |= SA_NOCLDWAIT;
 #endif
-    if (sigaction(SIGCLD, &action, NULL) < 0 ) {
+    if (sigaction(SIGCHLD, &action, NULL) < 0 ) {
         LOG(log_error, logtype_afpd, "afp_over_dsi: sigaction: %s", strerror(errno) );
         afp_dsi_die(EXITERR_SYS);
     }