]> xenbits.xensource.com Git - libvirt.git/commit
util/virxml: use xmlCtxtGetLastError when applicable
authorJakub Palacky <jpalacky@redhat.com>
Thu, 12 Sep 2024 11:47:21 +0000 (13:47 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 12 Sep 2024 12:52:55 +0000 (14:52 +0200)
commit09ebe533494de8e2373d97f8849e404aa127241d
treeb18b2d37c00bd1acbc1d43f8b1fe61cc5d2adea8
parent317139a316a30e35ce489a242334f73b1d8a4b82
util/virxml: use xmlCtxtGetLastError when applicable

xmlParserCtxt->lastError was deprecated in libxml2 v2.13.0-103-g1228b4e0
xmlCtxtGetLastError(xmlParserCtxt) should be used instead

Signed-off-by: Jakub Palacky <jpalacky@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virxml.c