mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +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) {
|
||||
virXMLError(VIR_ERR_INTERNAL_ERROR,
|
||||
_("\'%s\' value longer than %Zd bytes in virXPathStringLimit()"),
|
||||
_("\'%s\' value longer than %zd bytes in virXPathStringLimit()"),
|
||||
xpath, maxlen);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user