summaryrefslogtreecommitdiff
path: root/misc/diag.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/diag.c')
-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));
}