Browse Source

spelling: sigchld

Josh Soref 7 years ago
parent
commit
11ac079f22
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/bin/dhcp4/dhcp4_srv.cc
  2. 1 1
      src/lib/util/tests/process_spawn_unittest.cc

+ 1 - 1
src/bin/dhcp4/dhcp4_srv.cc

@@ -769,7 +769,7 @@ Dhcpv4Srv::run_one() {
     } catch (const SignalInterruptOnSelect) {
         // Packet reception interrupted because a signal has been received.
         // This is not an error because we might have received a SIGTERM,
-        // SIGINT, SIGHUP or SIGCHILD which are handled by the server. For
+        // SIGINT, SIGHUP or SIGCHLD which are handled by the server. For
         // signals that are not handled by the server we rely on the default
         // behavior of the system.
         LOG_DEBUG(packet4_logger, DBG_DHCP4_DETAIL, DHCP4_BUFFER_WAIT_SIGNAL)

+ 1 - 1
src/lib/util/tests/process_spawn_unittest.cc

@@ -239,7 +239,7 @@ TEST(ProcessSpawn, errnoInvariance) {
 
     EXPECT_EQ(64, process.getExitStatus(pid));
 
-    // errno value should be set to be preserved, despite the SIGCHILD
+    // errno value should be set to be preserved, despite the SIGCHLD
     // handler (ProcessSpawnImpl::waitForProcess) calling waitpid(), which
     // will likely set errno to ECHILD. See trac4000.
     EXPECT_EQ(123, errno);