Fix issue in labelling files
[src/app-framework-main.git] / src / secmgr-wrap.c
index 072300c..ad550ba 100644 (file)
@@ -1,5 +1,5 @@
 /*
- Copyright 2015, 2016 IoT.bzh
+ Copyright 2015, 2016, 2017 IoT.bzh
 
  author: José Bollo <jose.bollo@iot.bzh>
 
@@ -117,7 +117,7 @@ static int addpath(const char *pathname, enum app_install_path_type type)
 
 int secmgr_path_public_read_only(const char *pathname)
 {
-       return addpath(pathname, SECURITY_MANAGER_PATH_PUBLIC_RO);
+       return addpath(pathname, SECURITY_MANAGER_PATH_RO);
 }
 
 int secmgr_path_read_only(const char *pathname)