diff options
-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; } |