projects
/
platform
/
core
/
system
/
crash-worker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
712337e
)
crash-pipe: the buffer does not need to be a static variable
13/96913/2
author
Łukasz Stelmach
<l.stelmach@samsung.com>
Mon, 10 Oct 2016 13:37:08 +0000
(15:37 +0200)
committer
Łukasz Stelmach
<l.stelmach@samsung.com>
Thu, 8 Dec 2016 13:43:13 +0000
(14:43 +0100)
Change-Id: Ibb1f489564ecc888451d59c549db9dab9d0d97e9
src/crash-pipe/crash-pipe.c
patch
|
blob
|
history
diff --git
a/src/crash-pipe/crash-pipe.c
b/src/crash-pipe/crash-pipe.c
index
8a3f99f
..
e09d1e1
100644
(file)
--- a/
src/crash-pipe/crash-pipe.c
+++ b/
src/crash-pipe/crash-pipe.c
@@
-140,7
+140,7
@@
static void report(int argc, char *argv[])
int n;
#define PROC_READ_MAX 16384 /* 4 pages should be enough for any process */
-
static
char proc_readbuf[PROC_READ_MAX];
+ char proc_readbuf[PROC_READ_MAX];
printf("Crash report for: %s\n\n", exestr);