summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-27 03:30:27 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-08-27 03:30:27 (GMT)
commit6dd2b623fd5d853a9dec7997297c04c57245b8f9 (patch)
tree584bdc1682bf030177f52ca2cf517a3cdba249bc /misc
parent6358cba7362f8f345c1ef62cb7e4f19fbbdcd7fa (diff)
downloadeeshow-6dd2b623fd5d853a9dec7997297c04c57245b8f9.zip
eeshow-6dd2b623fd5d853a9dec7997297c04c57245b8f9.tar.gz
eeshow-6dd2b623fd5d853a9dec7997297c04c57245b8f9.tar.bz2
misc/diag.c (diag_pfatal, diag_perror): don't add newline
Diffstat (limited to 'misc')
-rw-r--r--misc/diag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/diag.c b/misc/diag.c
index 66eb399..5294129 100644
--- a/misc/diag.c
+++ b/misc/diag.c
@@ -29,13 +29,13 @@ unsigned verbose = 0;
void diag_pfatal(const char *s)
{
- fatal("%s: %s\n", s, strerror(errno));
+ fatal("%s: %s", s, strerror(errno));
}
void diag_perror(const char *s)
{
- error("%s: %s\n", s, strerror(errno));
+ error("%s: %s", s, strerror(errno));
}