Message ID | 20220224105736.124d84d0@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [trace-cmd,2.9] libtraceevent: Fix %zd and %Zd processing | expand |
diff --git a/lib/traceevent/event-parse.c b/lib/traceevent/event-parse.c index 63b6e0c19e2c..b9b699e9acee 100644 --- a/lib/traceevent/event-parse.c +++ b/lib/traceevent/event-parse.c @@ -5522,9 +5522,11 @@ static int parse_arg_format(struct tep_print_parse **parse, case 'L': ls = 2; break; - case '.': case 'z': case 'Z': + ls = 1; + break; + case '.': case '0' ... '9': case '-': break;