diff options
Diffstat (limited to 'src/mknod.c')
-rw-r--r-- | src/mknod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mknod.c b/src/mknod.c index 6e6709492..8f547e9c6 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -96,7 +96,7 @@ main (int argc, char **argv) int optc; int expected_operands; mode_t node_type; - security_context_t scontext = NULL; + char const *scontext = NULL; bool set_security_context = false; initialize_main (&argc, &argv); @@ -192,7 +192,7 @@ main (int argc, char **argv) if (is_smack_enabled ()) ret = smack_set_label_for_self (scontext); else - ret = setfscreatecon (scontext); + ret = setfscreatecon (se_const (scontext)); if (ret < 0) error (EXIT_FAILURE, errno, |