summaryrefslogtreecommitdiff
path: root/samus/sa_xml.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-06-02 11:34:46 +0200
committerTor Andersson <tor@ghostscript.com>2005-06-02 11:34:46 +0200
commit4ad40244021880e90d670720ac4c3beeac70aebc (patch)
tree7bdf4abc06168d7da4b24998adc2e47ca9f70c84 /samus/sa_xml.c
parent987d58dfaf4030f43b2a8854e2d246f75465cc57 (diff)
downloadmupdf-4ad40244021880e90d670720ac4c3beeac70aebc.tar.xz
heh. forgot a bunch of files for the new stream stuff.
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;
}