about summary refs log tree commit diff
path: root/converter/other/tifftopnm.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-06-29 19:18:54 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-06-29 19:18:54 +0000
commit1610a1f6aa54ad1d97926c1d8605720933059df7 (patch)
tree798e7e0a8fc53429b26d536ecb6ec1a176923ded /converter/other/tifftopnm.c
parent99eb1b4c7590cc6a8328245e6ec1427ca4d16555 (diff)
downloadnetpbm-mirror-1610a1f6aa54ad1d97926c1d8605720933059df7.tar.gz
netpbm-mirror-1610a1f6aa54ad1d97926c1d8605720933059df7.tar.xz
netpbm-mirror-1610a1f6aa54ad1d97926c1d8605720933059df7.zip
Update Advanced series to Release 10.67
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2221 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/tifftopnm.c')
-rw-r--r--converter/other/tifftopnm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/other/tifftopnm.c b/converter/other/tifftopnm.c
index fcfb03f6..214c02aa 100644
--- a/converter/other/tifftopnm.c
+++ b/converter/other/tifftopnm.c
@@ -1457,7 +1457,7 @@ convertRasterInMemory(pnmOut *       const pnmOutP,
         int ok;
         ok = TIFFRGBAImageOK(tif, emsg);
         if (!ok) {
-            pm_message(emsg);
+            pm_message("%s", emsg);
             *statusP = CONV_UNABLE;
         } else {
             uint32 * raster;
@@ -1477,14 +1477,14 @@ convertRasterInMemory(pnmOut *       const pnmOutP,
                 
                 ok = TIFFRGBAImageBegin(&img, tif, stopOnErrorFalse, emsg);
                 if (!ok) {
-                    pm_message(emsg);
+                    pm_message("%s", emsg);
                     *statusP = CONV_FAILED;
                 } else {
                     int ok;
                     ok = TIFFRGBAImageGet(&img, raster, cols, rows);
                     TIFFRGBAImageEnd(&img) ;
                     if (!ok) {
-                        pm_message(emsg);
+                        pm_message("%s", emsg);
                         *statusP = CONV_FAILED;
                     } else {
                         *statusP = CONV_DONE;