mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
xml: avoid compiler warning
Detected by clang. * src/util/xml.c (virXPathStringLimit): Use %zd, not obsolete %Zd.
This commit is contained in:
parent
13e9ba7c2b
commit
83a0489a21
@ -105,7 +105,7 @@ virXPathStringLimit(const char *xpath,
|
|||||||
|
|
||||||
if (tmp != NULL && strlen(tmp) >= maxlen) {
|
if (tmp != NULL && strlen(tmp) >= maxlen) {
|
||||||
virXMLError(VIR_ERR_INTERNAL_ERROR,
|
virXMLError(VIR_ERR_INTERNAL_ERROR,
|
||||||
_("\'%s\' value longer than %Zd bytes in virXPathStringLimit()"),
|
_("\'%s\' value longer than %zd bytes in virXPathStringLimit()"),
|
||||||
xpath, maxlen);
|
xpath, maxlen);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user