From: Michal Privoznik Date: Mon, 4 Feb 2019 15:39:52 +0000 (+0100) Subject: virSecuritySELinuxRestoreAllLabel: Print @migrated in the debug message too X-Git-Tag: v5.6.0-rc1~363 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86e43ded42105ab059644a8b88b6301c0bb64b99;p=thirdparty%2Flibvirt.git virSecuritySELinuxRestoreAllLabel: Print @migrated in the debug message too Just like it's DAC counterpart is doing, virSecuritySELinuxRestoreAllLabel() could print @migrated in the debug message. Signed-off-by: Michal Privoznik Reviewed-by: Cole Robinson Reviewed-by: Daniel P. Berrangé --- diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c index 094272e084..ec8d407351 100644 --- a/src/security/security_selinux.c +++ b/src/security/security_selinux.c @@ -2597,7 +2597,7 @@ virSecuritySELinuxRestoreAllLabel(virSecurityManagerPtr mgr, size_t i; int rc = 0; - VIR_DEBUG("Restoring security label on %s", def->name); + VIR_DEBUG("Restoring security label on %s migrated=%d", def->name, migrated); secdef = virDomainDefGetSecurityLabelDef(def, SECURITY_SELINUX_NAME);