diff --git a/src/vbox/vbox_snapshot_conf.c b/src/vbox/vbox_snapshot_conf.c index 3f7ad78e0e..7af1231a91 100644 --- a/src/vbox/vbox_snapshot_conf.c +++ b/src/vbox/vbox_snapshot_conf.c @@ -1211,7 +1211,7 @@ virVBoxSnapshotConfSaveVboxFile(virVBoxSnapshotConfMachinePtr machine, } } - if (xmlSaveFormatFileEnc(filePath, xml, "ISO-8859-1", -1) < 0) { + if (xmlSaveFormatFileEnc(filePath, xml, "ISO-8859-1", 1) < 0) { virReportError(VIR_ERR_XML_ERROR, "%s", _("Unable to save the xml")); goto cleanup;