From: Tim Pepper Date: Thu, 15 Nov 2012 00:22:50 +0000 (-0800) Subject: Add missing newline in reports X-Git-Tag: accepted/trunk/20130110.014835~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00970ec61e5a01bab44d5dd1c5225869ce1c4f17;p=platform%2Fupstream%2Fcorewatcher.git 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 --- 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);