summaryrefslogtreecommitdiffstats
path: root/filescan-utils.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-09 17:39:57 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-09-09 17:39:57 +0200
commitfdf2c27980f756cf63890576d80eef20b78fe980 (patch)
tree20a6db8e2a6ac26f7cd550034744a8562adb5de4 /filescan-utils.c
parent038de23bdf279d540218da8a03158ae59ac602c4 (diff)
Concatenate result directly from GetBindingDirPath
Return non const char pointer. Change-Id: I975b18f72d26c1a2749ca54e4f096271497047dd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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 2ac67fd..a36969b 100644
--- a/filescan-utils.c
+++ b/filescan-utils.c
@@ -123,7 +123,7 @@ PUBLIC const char *GetBinderName() {
return binderName;
}
-PUBLIC const char *GetBindingDirPath()
+PUBLIC char *GetBindingDirPath()
{
// A file description should not be greater than 999.999.999
char fd_link[CONTROL_MAXPATH_LEN];