]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix compiler warning about non-literal format string
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 5 Apr 2010 23:38:53 +0000 (01:38 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 5 Apr 2010 23:38:53 +0000 (01:38 +0200)
src/security/security_apparmor.c

index db04d5c188c4dd7de2c34eec17c95ca458966921..8e1c794856bc755c9057b01263643ab73061ba9e 100644 (file)
@@ -483,7 +483,7 @@ AppArmorSetSecurityProcessLabel(virSecurityDriverPtr drv, virDomainObjPtr vm)
     }
 
     if (aa_change_profile(profile_name) < 0) {
-        virSecurityReportError(VIR_ERR_INTERNAL_ERROR,
+        virSecurityReportError(VIR_ERR_INTERNAL_ERROR, "%s",
                                _("error calling aa_change_profile()"));
         goto clean;
     }