Neither of these are modified anywhere in the function, and the function will soon be called with an arg that actually is a const. Signed-off-by: Laine Stump <laine(a)redhat.com> --- src/security/security_selinux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c index e43962435f..cd1d9d14f7 100644 --- a/src/security/security_selinux.c +++ b/src/security/security_selinux.c @@ -523,8 +523,8 @@ virSecuritySELinuxMCSGetProcessRange(char **sens, } static char * -virSecuritySELinuxContextAddRange(char *src, - char *dst) +virSecuritySELinuxContextAddRange(const char *src, + const char *dst) { const char *str = NULL; char *ret = NULL; -- 2.39.2