diff --git a/src/util/src/tcompression.c b/src/util/src/tcompression.c index 1a5d28625f7061a4eec1ca41e654c2683c3ba9d5..88ad0d8b9508f64187a02161bf04af27d48aaee9 100644 --- a/src/util/src/tcompression.c +++ b/src/util/src/tcompression.c @@ -308,7 +308,7 @@ int tsCompressBoolImp(const char *const input, const int nelements, char *const /* t = (~((( uint8_t)1) << (7-i%BITS_PER_BYTE))); */ output[pos] |= t; } else { - uError("Invalid compress bool value:%d", output[pos]); + uError("Invalid compress bool value:%d", input[i]); return -1; } }