diff options
author | Tim Pepper <timothy.c.pepper@linux.intel.com> | 2012-11-14 16:22:50 -0800 |
---|---|---|
committer | Tim Pepper <timothy.c.pepper@linux.intel.com> | 2012-11-14 16:22:50 -0800 |
commit | 00970ec61e5a01bab44d5dd1c5225869ce1c4f17 (patch) | |
tree | ce3354a1acfbfeef80d0bce219c4b86dd330065f | |
parent | cd32d5f2a704447433033f94f06af59180637805 (diff) | |
download | corewatcher-00970ec61e5a01bab44d5dd1c5225869ce1c4f17.tar.gz corewatcher-00970ec61e5a01bab44d5dd1c5225869ce1c4f17.tar.bz2 corewatcher-00970ec61e5a01bab44d5dd1c5225869ce1c4f17.zip |
Add missing newline in reports
In error cases we might not get a backtrace or maps out of gdb. In that
case the default "Unknown" string is missing a newline.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
-rw-r--r-- | src/coredump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coredump.c b/src/coredump.c index 4c84610..3610845 100644 --- a/src/coredump.c +++ b/src/coredump.c @@ -326,8 +326,8 @@ static struct oops *extract_core(char *fullpath, char *appfile, char *reportname "maps: |\n" "%s", h1, - c1 ? c1 : " Unknown", - m1 ? m1 : " Unknown"); + c1 ? c1 : " Unknown\n", + m1 ? m1 : " Unknown\n"); free(h1); if (c1) free(c1); |