[PATCH] os: Print a newline when Error is called
Jeremy Huddleston
jeremyhu at apple.com
Mon Oct 10 17:53:07 PDT 2011
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
os/log.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/os/log.c b/os/log.c
index 2eddf06..0aa4429 100644
--- a/os/log.c
+++ b/os/log.c
@@ -646,9 +646,9 @@ Error(const char *str)
const char *err = strerror(errno);
if (str)
- LogWrite(-1, "%s: %s", str, err);
+ LogWrite(-1, "%s: %s\n", str, err);
else
- LogWrite(-1, "%s", err);
+ LogWrite(-1, "%s\n", err);
}
void
--
1.7.5.4
More information about the xorg-devel
mailing list