diff --git a/annotations/src/main/java/annotations/tc/TCPrintfAnnotation.java b/annotations/src/main/java/annotations/tc/TCPrintfAnnotation.java index 8795c82b8..ed2a6c148 100644 --- a/annotations/src/main/java/annotations/tc/TCPrintfAnnotation.java +++ b/annotations/src/main/java/annotations/tc/TCPrintfAnnotation.java @@ -105,7 +105,7 @@ private void checkArgs(Environment env, NameScope scope) } catch (IllegalArgumentException e) { - name.report(6008, "@Printf must use %[arg$][#][width]s conversions"); + name.report(6008, "@Printf must use %[arg$][#][width](s|S) conversions"); } } else