summaryrefslogtreecommitdiff
path: root/os/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/log.c')
-rw-r--r--os/log.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/os/log.c b/os/log.c
index 53b358629..976f90f40 100644
--- a/os/log.c
+++ b/os/log.c
@@ -881,9 +881,9 @@ FatalError(const char *f, ...)
static Bool beenhere = FALSE;
if (beenhere)
- ErrorFSigSafe("\nFatalError re-entered, aborting\n");
+ ErrorFSigSafe("FatalError re-entered, aborting\n");
else
- ErrorFSigSafe("\nFatal server error:\n");
+ ErrorFSigSafe("Fatal server error: ");
va_start(args, f);
@@ -902,7 +902,8 @@ FatalError(const char *f, ...)
#endif
VErrorFSigSafe(f, args);
va_end(args);
- ErrorFSigSafe("\n");
+ if (f[strlen(f) - 1] != '\n')
+ ErrorFSigSafe("\n");
if (!beenhere)
OsVendorFatalError(f, args2);
va_end(args2);