mirror of https://github.com/ericonr/sndio.git
remove trailing \n from string passed to err()
This commit is contained in:
parent
6436780b57
commit
e20bb8997d
|
@ -243,11 +243,11 @@ unsetsig(void)
|
|||
sa.sa_flags = SA_RESTART;
|
||||
sa.sa_handler = SIG_DFL;
|
||||
if (sigaction(SIGHUP, &sa, NULL) < 0)
|
||||
err(1, "unsetsig(hup): sigaction failed\n");
|
||||
err(1, "unsetsig(hup): sigaction failed");
|
||||
if (sigaction(SIGTERM, &sa, NULL) < 0)
|
||||
err(1, "unsetsig(term): sigaction failed\n");
|
||||
err(1, "unsetsig(term): sigaction failed");
|
||||
if (sigaction(SIGINT, &sa, NULL) < 0)
|
||||
err(1, "unsetsig(int): sigaction failed\n");
|
||||
err(1, "unsetsig(int): sigaction failed");
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue