} 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)
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);