summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-04-19 04:26:46 +0000
committerderaadt <deraadt@openbsd.org>2012-04-19 04:26:46 +0000
commitaf5c3d1be896a597f67673d54cbb573d4143fceb (patch)
tree68eccfc67d413b007e07c30aac1fd130e32a1fff
parentEnable multi-threaded debugging on powerpc. (diff)
downloadwireguard-openbsd-af5c3d1be896a597f67673d54cbb573d4143fceb.tar.xz
wireguard-openbsd-af5c3d1be896a597f67673d54cbb573d4143fceb.zip
add newline to signal error messages; Thomas Pfaff
-rw-r--r--bin/pax/pax.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pax/pax.c b/bin/pax/pax.c
index 6017ba3b962..ee56aba0e63 100644
--- a/bin/pax/pax.c
+++ b/bin/pax/pax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pax.c,v 1.32 2011/05/26 14:42:06 deraadt Exp $ */
+/* $OpenBSD: pax.c,v 1.33 2012/04/19 04:26:46 deraadt Exp $ */
/* $NetBSD: pax.c,v 1.5 1996/03/26 23:54:20 mrg Exp $ */
/*-
@@ -305,10 +305,10 @@ sig_cleanup(int which_sig)
/* paxwarn() uses stdio; fake it as well as we can */
if (which_sig == SIGXCPU)
- strlcpy(errbuf, "Cpu time limit reached, cleaning up.",
+ strlcpy(errbuf, "CPU time limit reached, cleaning up.\n",
sizeof errbuf);
else
- strlcpy(errbuf, "Signal caught, cleaning up.",
+ strlcpy(errbuf, "Signal caught, cleaning up.\n",
sizeof errbuf);
(void) write(STDERR_FILENO, errbuf, strlen(errbuf));