summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/fitz/untar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/untar.c b/source/fitz/untar.c
index ad93e1e3..1588a8ac 100644
--- a/source/fitz/untar.c
+++ b/source/fitz/untar.c
@@ -66,7 +66,7 @@ static void ensure_tar_entries(fz_context *ctx, fz_tar_archive *tar)
offset = fz_tell(ctx, file);
n = fz_read(ctx, file, (unsigned char *) name, nelem(name));
if (n < nelem(name))
- fz_throw(ctx, FZ_ERROR_GENERIC, "premature end of data in zip entry name");
+ fz_throw(ctx, FZ_ERROR_GENERIC, "premature end of data in tar entry name");
name[nelem(name) - 1] = '\0';
if (strlen(name) == 0)
@@ -75,7 +75,7 @@ static void ensure_tar_entries(fz_context *ctx, fz_tar_archive *tar)
fz_seek(ctx, file, 24, 1);
n = fz_read(ctx, file, (unsigned char *) octsize, nelem(octsize));
if (n < nelem(octsize))
- fz_throw(ctx, FZ_ERROR_GENERIC, "premature end of data in zip entry size");
+ fz_throw(ctx, FZ_ERROR_GENERIC, "premature end of data in tar entry size");
size = otoi(octsize);
fz_seek(ctx, file, 20, 1);