]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
avoid format-related warnings
authorJim Meyering <meyering@redhat.com>
Thu, 21 Jan 2010 13:39:42 +0000 (14:39 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 21 Jan 2010 14:08:25 +0000 (15:08 +0100)
* src/conf/domain_conf.c (virDomainDeviceInfoParseXML): Use "%s".

src/conf/domain_conf.c

index 27f6f845a2a436f2fcc4081c434fbc07823150ac..74c233732f9b08eeeb92a9da5466912ccd4df566 100644 (file)
@@ -1118,7 +1118,7 @@ virDomainDeviceInfoParseXML(virConnectPtr conn,
         }
     } else {
         virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR,
-                             _("No type specified for device address"));
+                             "%s", _("No type specified for device address"));
         goto cleanup;
     }
 
@@ -1136,7 +1136,7 @@ virDomainDeviceInfoParseXML(virConnectPtr conn,
     default:
         /* Should not happen */
         virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR,
-                             _("Unknown device address type"));
+                             "%s", _("Unknown device address type"));
         goto cleanup;
     }