summaryrefslogtreecommitdiffstats
path: root/tapset/syscalls2.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/syscalls2.stp')
-rw-r--r--tapset/syscalls2.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp
index 831067ad..fec0dc55 100644
--- a/tapset/syscalls2.stp
+++ b/tapset/syscalls2.stp
@@ -2488,7 +2488,7 @@ probe syscall.write = kernel.function("sys_write") {
fd = $fd
buf_uaddr = $buf
count = $count
- argstr = sprintf("%d, %s, %d", $fd, text_strn(user_string($buf),20,1), $count)
+ argstr = sprintf("%d, %s, %d", $fd, text_strn(user_string($buf),syscall_string_trunc,1), $count)
}
probe syscall.write.return = kernel.function("sys_write").return {
name = "write"