summaryrefslogtreecommitdiffstats
path: root/runtime/vsprintf.c
diff options
context:
space:
mode:
authorhunt <hunt>2006-04-28 20:36:28 +0000
committerhunt <hunt>2006-04-28 20:36:28 +0000
commit1c60d34d029cf98eae1ce05742d949a4b28641cb (patch)
treeae38ffc3093ed25ef678a84ad4b20fd44b2054b0 /runtime/vsprintf.c
parentb7d308040bbc8bdd6bd07c2f09fa24dde7a3b3a0 (diff)
downloadsystemtap-steved-1c60d34d029cf98eae1ce05742d949a4b28641cb.tar.gz
systemtap-steved-1c60d34d029cf98eae1ce05742d949a4b28641cb.tar.xz
systemtap-steved-1c60d34d029cf98eae1ce05742d949a4b28641cb.zip
2006-04-28 Martin Hunt <hunt@redhat.com>
* vsprintf.c (_stp_vsnprintf): Fix argument size for %p.
Diffstat (limited to 'runtime/vsprintf.c')
-rw-r--r--runtime/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/vsprintf.c b/runtime/vsprintf.c
index 21a1c156..44e431fb 100644
--- a/runtime/vsprintf.c
+++ b/runtime/vsprintf.c
@@ -295,7 +295,7 @@ int _stp_vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
flags |= STP_ZEROPAD;
}
str = number(str, end,
- (unsigned long) va_arg(args, void *),
+ (unsigned long) va_arg(args, int64_t),
16, field_width, precision, flags);
continue;