src/rc/rc-selinux.c: fix use of deprecated security_context_t

It's only a char* and has been deprecated upstream [0].

[0] https://github.com/SELinuxProject/selinux/commit/7a124ca27581

Fixes: #478
This commit is contained in:
Sam James 2021-11-22 10:37:49 +00:00 committed by William Hubbs
parent b868fc2c8d
commit b94517376e

View File

@ -66,7 +66,7 @@ int selinux_util_label(const char *path)
int retval = 0;
int enforce;
struct stat st;
security_context_t con;
char *con;
enforce = security_getenforce();
if (retval < 0)