This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10242] sprintf does not recognize "%-*s" conversion specifier
- From: "varunc at linux dot vnet dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 8 Jun 2009 04:05:02 -0000
- Subject: [Bug translator/10242] sprintf does not recognize "%-*s" conversion specifier
- References: <20090605120255.10242.varunc@linux.vnet.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.