about summary refs log tree commit diff
path: root/converter/other/jpegtopnm.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-11-30 18:54:54 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-11-30 18:54:54 +0000
commit888f84e1ee7cc65d822fa8e84e02743d529a9c12 (patch)
treed72c58fe5930c58d54318f139eada14e3a47b4e5 /converter/other/jpegtopnm.c
parent4c272da2874fc3fb6ea98faf7d2fcf5ded572e8f (diff)
downloadnetpbm-mirror-888f84e1ee7cc65d822fa8e84e02743d529a9c12.tar.gz
netpbm-mirror-888f84e1ee7cc65d822fa8e84e02743d529a9c12.tar.xz
netpbm-mirror-888f84e1ee7cc65d822fa8e84e02743d529a9c12.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4795 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/jpegtopnm.c')
-rw-r--r--converter/other/jpegtopnm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/converter/other/jpegtopnm.c b/converter/other/jpegtopnm.c
index 33baf6f0..33f69be9 100644
--- a/converter/other/jpegtopnm.c
+++ b/converter/other/jpegtopnm.c
@@ -555,8 +555,7 @@ setColorSpaces(J_COLOR_SPACE   const jpegColorSpace,
         pm_error("INTERNAL ERROR: unknown color space code %d passed "
                  "to setColorSpaces().", jpegColorSpace);
     }
-    pm_message("WRITING %s FILE",
-               *outputTypeP == PPM_TYPE ? "PPM" : "PGM");
+    pm_message("WRITING %s FILE", pnm_formattypenm(*outputTypeP));
 }