aboutsummaryrefslogtreecommitdiffstats
path: root/filescan-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'filescan-utils.c')
-rw-r--r--filescan-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filescan-utils.c b/filescan-utils.c
index 37cc2b3..a20179c 100644
--- a/filescan-utils.c
+++ b/filescan-utils.c
@@ -120,7 +120,7 @@ PUBLIC const char *GetBinderName() {
binderName= getenv("AFB_BINDER_NAME");
if (!binderName) {
- char psName[17];
+ static char psName[17];
// retrieve binder name from process name afb-name-trailer
prctl(PR_GET_NAME, psName,NULL,NULL,NULL);
binderName=(char*)GetMidleName(psName);