projects
/
platform
/
upstream
/
corewatcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd32d5f
)
Add missing newline in reports
author
Tim Pepper
<timothy.c.pepper@linux.intel.com>
Thu, 15 Nov 2012 00:22:50 +0000
(16:22 -0800)
committer
Tim Pepper
<timothy.c.pepper@linux.intel.com>
Thu, 15 Nov 2012 00:22:50 +0000
(16:22 -0800)
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>
src/coredump.c
patch
|
blob
|
history
diff --git
a/src/coredump.c
b/src/coredump.c
index
4c84610
..
3610845
100644
(file)
--- 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);