summaryrefslogtreecommitdiff
path: root/apps/samshow.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 /apps/samshow.c
parent987d58dfaf4030f43b2a8854e2d246f75465cc57 (diff)
downloadmupdf-4ad40244021880e90d670720ac4c3beeac70aebc.tar.xz
heh. forgot a bunch of files for the new stream stuff.
Diffstat (limited to 'apps/samshow.c')
-rw-r--r--apps/samshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/samshow.c b/apps/samshow.c
index aa4030cc..d62e8651 100644
--- a/apps/samshow.c
+++ b/apps/samshow.c
@@ -23,7 +23,7 @@ int runzip(int argc, char **argv)
fz_abort(error);
n = fz_readall(&buf, stm);
if (n < 0)
- fz_abort(fz_throw("ioerror: readall failed"));
+ fz_abort(fz_ioerror(stm));
fz_dropstream(stm);
fwrite(buf->rp, 1, buf->wp - buf->rp, stdout);