summaryrefslogtreecommitdiff
path: root/samus/sa_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'samus/sa_xml.c')
-rw-r--r--samus/sa_xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samus/sa_xml.c b/samus/sa_xml.c
index a7b2c764..4b9ac07a 100644
--- a/samus/sa_xml.c
+++ b/samus/sa_xml.c
@@ -197,7 +197,7 @@ sa_openxml(sa_xmlparser **spp, fz_stream *file, int ns)
len = fz_read(file, buf, XMLBUFLEN);
if (len < 0)
{
- error = fz_throw("ioerror: read failed");
+ error = fz_ioerror(file);
goto cleanup;
}