diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-04-19 04:26:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-04-19 04:26:47 +0000 |
commit | 9b7969b028a9d1f47fa26f0b9c3f9c2985c53c03 (patch) | |
tree | 540d1fce6d9888414b6d260a36ad92b9951f5ffe /bin/pax | |
parent | eb62e6394be31e441529f1f0731b5b9521003c94 (diff) |
add newline to signal error messages; Thomas Pfaff
Diffstat (limited to 'bin/pax')
-rw-r--r-- | bin/pax/pax.c | 6 |
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)); |