diff options
author | Pierre Carrier <[email protected]> | 2012-05-29 15:07:35 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-05-29 16:22:33 -0700 |
commit | 7c20342230ff370c397fc4a9c4c1e7a91964bb66 (patch) | |
tree | e9ccb5eaee5bcd4578f7ea30311f2c3830815b9c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5536805292e64393f57054de66578f17eb1ea994 (diff) |
lib/vsprintf.c: "%#o",0 becomes '0' instead of '00'
number()'s behaviour is slighly changed: 0 becomes "0" instead of "00"
when using the flag SPECIAL and base 8.
Before:
Number\Format %o %#o %x %#x
0 0 00 0 0x0
1 1 01 1 0x1
16 20 020 10 0x10
After:
Number\Format %o %#o %x %#x
0 0 0 0 0x0
1 1 01 1 0x1
16 20 020 10 0x10
Signed-off-by: Pierre Carrier <[email protected]>
Acked-by: Stephen Rothwell <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions