summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/selinux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selinux.c b/src/selinux.c
index 2bd91d071..d56010bba 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -115,7 +115,7 @@ defaultcon (struct selabel_handle *selabel_handle,
char *tcon = NULL;
context_t scontext = 0, tcontext = 0;
char const *contype;
- char *constr;
+ char const *constr;
char *newpath = NULL;
if (! IS_ABSOLUTE_FILE_NAME (path))
@@ -183,7 +183,7 @@ restorecon_private (struct selabel_handle *selabel_handle, char const *path)
char *tcon = NULL;
context_t scontext = 0, tcontext = 0;
char const *contype;
- char *constr;
+ char const *constr;
int fd;
if (!selabel_handle)