diff options
author | 2016-01-09 08:57:34 +0000 | |
---|---|---|
committer | 2016-01-09 08:57:34 +0000 | |
commit | e5a0b3620f22ec5eaa6882754971289784287f65 (patch) | |
tree | 7c2cb59373be8c120360c653ab6737b57ed81e48 | |
parent | unexpand tabs (diff) | |
download | wireguard-openbsd-e5a0b3620f22ec5eaa6882754971289784287f65.tar.xz wireguard-openbsd-e5a0b3620f22ec5eaa6882754971289784287f65.zip |
Remove trailing '\n' from strings passed to err(1)
-rw-r--r-- | usr.bin/sndiod/sndiod.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/sndiod/sndiod.c b/usr.bin/sndiod/sndiod.c index b870bbc84a6..f513e1cb973 100644 --- a/usr.bin/sndiod/sndiod.c +++ b/usr.bin/sndiod/sndiod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sndiod.c,v 1.28 2016/01/08 16:17:31 ratchov Exp $ */ +/* $OpenBSD: sndiod.c,v 1.29 2016/01/09 08:57:34 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org> * @@ -251,11 +251,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 |