diff --git a/policycoreutils/sandbox/seunshare.c b/policycoreutils/sandbox/seunshare.c index e15b2a5b..3bb3c4b7 100644 --- a/policycoreutils/sandbox/seunshare.c +++ b/policycoreutils/sandbox/seunshare.c @@ -295,8 +295,8 @@ static int seunshare_mount(const char *src, const char *dst, struct stat *src_st */ static int sandbox_error(const char *string) { - fprintf(stderr, string); - syslog(LOG_AUTHPRIV | LOG_ALERT, string); + fprintf(stderr, "%s", string); + syslog(LOG_AUTHPRIV | LOG_ALERT, "%s", string); exit(-1); }