diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-03-01 20:38:42 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-03-01 20:38:42 +0000 |
commit | 58de548b0c0d102781d557c2f753a28effc73e7f (patch) | |
tree | 0d1a386e1f276bffbaa7cc2ad9d38d3dcb2d1210 | |
parent | c75e697385908268ddf4561fce94e44d3d0b6ede (diff) | |
download | netpbm-mirror-58de548b0c0d102781d557c2f753a28effc73e7f.tar.gz netpbm-mirror-58de548b0c0d102781d557c2f753a28effc73e7f.tar.xz netpbm-mirror-58de548b0c0d102781d557c2f753a28effc73e7f.zip |
improve error message
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2143 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | lib/libpgm1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpgm1.c b/lib/libpgm1.c index 8d6887f9..8fe53270 100644 --- a/lib/libpgm1.c +++ b/lib/libpgm1.c @@ -195,7 +195,8 @@ validateRpgmRow(gray * const grayrow, unsigned int col; for (col = 0; col < cols; ++col) { if (grayrow[col] > maxval) { - pm_asprintf(errorP, "value out of bounds (%u > %u)", + pm_asprintf(errorP, + "gray value %u is greater than maxval (%u)", grayrow[col], maxval); return; } |