diff --git a/src/libCom/test/epicsStringTest.c b/src/libCom/test/epicsStringTest.c index 4e5cc94c6..1a9b46ead 100644 --- a/src/libCom/test/epicsStringTest.c +++ b/src/libCom/test/epicsStringTest.c @@ -27,7 +27,7 @@ void testChars() { epicsStrSnPrintEscaped(escaped, sizeof(escaped), input, 1); dbTranslateEscape(result, escaped); testOk(result[0] == input[0] && result[1] == 0, - "char 0x%02.2x -> \"%s\" -> 0x%02.2x", + "char 0x%2.2x -> \"%s\" -> 0x%2.2x", input[0] & 0xff, escaped, result[0] & 0xff); } }