about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-01-25 18:52:43 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-01-25 18:52:43 +0000
commit1e753728ffb51a8c7cf1a965441bd4be287990ce (patch)
tree7b43cc952a730a6bfbf11bd4ecc397e20bd4b0d0 /lib
parent113e14b1f00a4632fc3e8e642983613c29841523 (diff)
downloadnetpbm-mirror-1e753728ffb51a8c7cf1a965441bd4be287990ce.tar.gz
netpbm-mirror-1e753728ffb51a8c7cf1a965441bd4be287990ce.tar.xz
netpbm-mirror-1e753728ffb51a8c7cf1a965441bd4be287990ce.zip
Release 10.47.54
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@2403 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r--lib/libppm1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libppm1.c b/lib/libppm1.c
index ea929908..97110730 100644
--- a/lib/libppm1.c
+++ b/lib/libppm1.c
@@ -145,8 +145,8 @@ ppm_readppminit(FILE *   const fileP,
         break;
 
     default:
-        pm_error("bad magic number %d - not a PPM, PGM, PBM, or PAM file",
-                 PAM_FORMAT_TYPE(*formatP));
+        pm_error("bad magic number 0x%x - not a PPM, PGM, PBM, or PAM file",
+                 realFormat);
     }
     validateComputableSize(*colsP, *rowsP);
 }