about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-11-06 19:56:55 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-11-06 19:56:55 +0000
commit1549ef53a10662de679cad9d0f126fbc1d300e87 (patch)
tree5da77c888d3a4ab38e9584729b24ba0bced8e9a5
parentd6d0db8770d172954f8b66abfd65977e282942f0 (diff)
downloadnetpbm-mirror-1549ef53a10662de679cad9d0f126fbc1d300e87.tar.gz
netpbm-mirror-1549ef53a10662de679cad9d0f126fbc1d300e87.tar.xz
netpbm-mirror-1549ef53a10662de679cad9d0f126fbc1d300e87.zip
Improve error message
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4457 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--converter/other/jpeg2000/libjasper/jpc/jpc_enc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/converter/other/jpeg2000/libjasper/jpc/jpc_enc.c b/converter/other/jpeg2000/libjasper/jpc/jpc_enc.c
index 5eab8560..f7a447e8 100644
--- a/converter/other/jpeg2000/libjasper/jpc/jpc_enc.c
+++ b/converter/other/jpeg2000/libjasper/jpc/jpc_enc.c
@@ -1816,7 +1816,8 @@ encodemainbody(jpc_enc_t *enc) {
             /* Encodes current tile; writes to output file */
 
         if (error) {
-            fprintf(stderr, "%s\n", error);
+            fprintf(stderr, "Failed to encode body of tile %u.  %s\n",
+                    tileno, error);
             pm_strfree(error);
             return -1;
         }