adamwill / rpms / openscap

Forked from rpms/openscap 3 years ago
Clone

Blame SOURCES/openscap-1.2.18-selinuxsecuritycontext-verbose.patch

cf36c6
diff --git a/src/OVAL/probes/unix/linux/selinuxsecuritycontext.c b/src/OVAL/probes/unix/linux/selinuxsecuritycontext.c
cf36c6
index 65268cbfb..d9c91d75e 100644
cf36c6
--- a/src/OVAL/probes/unix/linux/selinuxsecuritycontext.c
cf36c6
+++ b/src/OVAL/probes/unix/linux/selinuxsecuritycontext.c
cf36c6
@@ -269,7 +269,7 @@ static int selinuxsecuritycontext_file_cb(const char *prefix, const char *p, con
cf36c6
 	file_context_size = getfilecon(path_with_prefix, &file_context);
cf36c6
 	free(path_with_prefix);
cf36c6
 	if (file_context_size == -1) {
cf36c6
-		dE("Can't get context for %s: %s", pbuf, strerror(errno));
cf36c6
+		dD("Can't get context for %s: %s", pbuf, strerror(errno));
cf36c6
 
cf36c6
 		item = probe_item_create(OVAL_LINUX_SELINUXSECURITYCONTEXT, NULL,
cf36c6
 						"filepath", OVAL_DATATYPE_STRING, pbuf,