diff options
author | Petr Muller <pmuller@redhat.com> | 2010-02-01 18:19:58 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2010-02-01 20:09:39 +0100 |
commit | 1a11a23e5eba2caad084961a505a344a3c6e1ead (patch) | |
tree | b394d14517002d8c24969016f193b92341a41ad5 | |
parent | 5bfa509fafd80169ced1ea42a110a5a0c30127f3 (diff) | |
download | systemtap-steved-1a11a23e5eba2caad084961a505a344a3c6e1ead.tar.gz systemtap-steved-1a11a23e5eba2caad084961a505a344a3c6e1ead.tar.xz systemtap-steved-1a11a23e5eba2caad084961a505a344a3c6e1ead.zip |
Fix a incorrect UNKNOWN VALUE message creation in _sock_type_str function
-rw-r--r-- | tapset/aux_syscalls.stp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index a0ab557b..2d0ba210 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1340,7 +1340,7 @@ function _sock_type_str:string(type:long) strlcpy (THIS->__retvalue, "SOCK_PACKET", MAXSTRINGLEN); break; default: - strlcpy (THIS->__retvalue, "UNKNOWN VALUE: %d", t); + snprintf (THIS->__retvalue, MAXSTRINGLEN, "UNKNOWN VALUE: %d", t); break; } |