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: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 5 Jun 2009 19:06:51 -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 jistone at redhat dot com 2009-06-05 19:06 -------
Can you give a more complete example of what's not working for you? I tried the
following and it looks fine:
$ stap -e 'probe begin { aff = "aff"; s = sprintf("%-*s", 23, aff);
printf("|%s|\n", s); exit() }'
|aff |
--
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.