diff options
author | hunt <hunt> | 2007-05-16 01:56:12 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-05-16 01:56:12 +0000 |
commit | 4f295b51c85ada0efca7594604ada44853ac32d5 (patch) | |
tree | a742fc02095a3eb655d6caa0f612790e72dbd6eb /runtime/vsprintf.c | |
parent | 3c3dbd3bc57a1db3972ee9ebbf15d95402375146 (diff) | |
download | systemtap-steved-4f295b51c85ada0efca7594604ada44853ac32d5.tar.gz systemtap-steved-4f295b51c85ada0efca7594604ada44853ac32d5.tar.xz systemtap-steved-4f295b51c85ada0efca7594604ada44853ac32d5.zip |
2007-05-15 Martin Hunt <hunt@redhat.com>
* vsprintf.c: Add comment about %p.
* regs.c, stack*.c, sym.c: Fix %p calls.
Diffstat (limited to 'runtime/vsprintf.c')
-rw-r--r-- | runtime/vsprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/vsprintf.c b/runtime/vsprintf.c index eb47e156..0e52f5c3 100644 --- a/runtime/vsprintf.c +++ b/runtime/vsprintf.c @@ -295,6 +295,7 @@ int _stp_vsnprintf(char *buf, size_t size, const char *fmt, va_list args) break; case 'p': + /* Note that %p takes an int64_t argument. */ len = 2*sizeof(void *) + 2; flags |= STP_ZEROPAD; |