diff options
Diffstat (limited to 'fitz/stm_read.c')
-rw-r--r-- | fitz/stm_read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/stm_read.c b/fitz/stm_read.c index 062916c5..23f758eb 100644 --- a/fitz/stm_read.c +++ b/fitz/stm_read.c @@ -192,11 +192,11 @@ fz_seek(fz_stream *stm, int offset, int whence) if (whence == 0) offset -= fz_tell(stm); if (offset < 0) - fz_warn("cannot seek backwards"); + fz_warn(stm->ctx, "cannot seek backwards"); /* dog slow, but rare enough */ while (offset-- > 0) fz_read_byte(stm); } else - fz_warn("cannot seek"); + fz_warn(stm->ctx, "cannot seek"); } |