[Bug translator/10242] sprintf does not recognize "%-*s" conversion specifier

varunc at linux dot vnet dot ibm dot com sourceware-bugzilla@sourceware.org
Mon Jun 8 04:05:00 GMT 2009


------- Additional Comments From varunc at linux dot vnet dot ibm dot com  2009-06-08 04:05 -------
ok, so a combination of %s and %ld is causing this issue

stap -e 'probe begin { i = 3; aff = "aff"; s = sprintf("%-*s %-15s %6ld", 23,
aff, aff, i); printf("|%s|\n", s); exit() }'

Is giving the same issue.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10242

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list