Fixed sprintf format string for tracelib