mirror of https://gitee.com/openkylin/libvirt.git
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