aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/src/getfilecon.c
diff options
context:
space:
mode:
Diffstat (limited to 'libselinux/src/getfilecon.c')
-rw-r--r--libselinux/src/getfilecon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libselinux/src/getfilecon.c b/libselinux/src/getfilecon.c
index eb2ce8a4..5d4d4835 100644
--- a/libselinux/src/getfilecon.c
+++ b/libselinux/src/getfilecon.c
@@ -7,7 +7,7 @@
#include <sys/xattr.h>
#include "policy.h"
-int getfilecon_raw(const char *path, security_context_t * context)
+int getfilecon_raw(const char *path, char ** context)
{
char *buf;
ssize_t size;
@@ -51,10 +51,10 @@ int getfilecon_raw(const char *path, security_context_t * context)
hidden_def(getfilecon_raw)
-int getfilecon(const char *path, security_context_t * context)
+int getfilecon(const char *path, char ** context)
{
int ret;
- security_context_t rcontext;
+ char * rcontext;
*context = NULL;