about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-11-28 17:00:50 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-11-28 17:00:50 +0000
commitf170d226a53182944c19730f01190c97a2cc3303 (patch)
treeb85e871ea8eadc97c2a59d5c7704d1f00e25bd1e
parentac8e85753f21cf60a1f5d09f758c71b2f25a530b (diff)
downloadnetpbm-mirror-f170d226a53182944c19730f01190c97a2cc3303.tar.gz
netpbm-mirror-f170d226a53182944c19730f01190c97a2cc3303.tar.xz
netpbm-mirror-f170d226a53182944c19730f01190c97a2cc3303.zip
Fix bug in previous commit
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4191 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--converter/other/xwdtopnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/xwdtopnm.c b/converter/other/xwdtopnm.c
index ac541b98..4eb16def 100644
--- a/converter/other/xwdtopnm.c
+++ b/converter/other/xwdtopnm.c
@@ -595,7 +595,7 @@ processX11Header(X11WDFileHeader *  const h11P,
         /* See discussion above about this maxval */
         if (h11FixedP->bits_per_rgb > 16)
             pm_error("Invalid bits_per_rgb for TrueColor image: %u. "
-                     "Maximum possible is 16");
+                     "Maximum possible is 16", h11FixedP->bits_per_rgb);
         *maxvalP = pm_bitstomaxval(h11FixedP->bits_per_rgb);
     } else if (*visualclassP == StaticGray && h11FixedP->bits_per_pixel == 1) {
         *formatP = PBM_TYPE;