diff options
author | David Smith <dsmith@redhat.com> | 2009-04-08 12:42:39 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-04-08 12:42:39 -0500 |
commit | f149549158a3d6dcb1118323d1dbcec27c4b3bbe (patch) | |
tree | 026809a32737d2abf37808b0983de0a09315b2c2 /runtime/sym.c | |
parent | 55c0f2bfefb04915622dd3688bba59da1addaec8 (diff) | |
parent | 909478bf88251987368339b1102f56fbd2d11ebd (diff) | |
download | systemtap-steved-f149549158a3d6dcb1118323d1dbcec27c4b3bbe.tar.gz systemtap-steved-f149549158a3d6dcb1118323d1dbcec27c4b3bbe.tar.xz systemtap-steved-f149549158a3d6dcb1118323d1dbcec27c4b3bbe.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/sym.c')
-rw-r--r-- | runtime/sym.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/sym.c b/runtime/sym.c index 0268f1ab..835e1b46 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -380,8 +380,8 @@ static void _stp_symbol_snprint(char *str, size_t len, unsigned long address, task); if (name) { if (add_mod && modname && *modname) - _stp_printf("%s %s+%#lx/%#lx\n", - name, modname, offset, size); + _stp_snprintf(str, len, "%s %s+%#lx/%#lx", + name, modname, offset, size); else strlcpy(str, name, len); } else |