summaryrefslogtreecommitdiffstats
path: root/tapset/aux_syscalls.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/aux_syscalls.stp')
-rw-r--r--tapset/aux_syscalls.stp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index c7cc06de..808c3503 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -117,7 +117,7 @@ function _struct_utimbuf_u:string(uaddr:long)
if(_stp_copy_from_user((char*)&ubuf,ptr,sizeof(ubuf)) == 0) {
_stp_ctime(ubuf.actime, abuf, 24);
_stp_ctime(ubuf.modtime, mbuf, 24);
- snprintf(THIS->__retvalue, MAXSTRINGLEN, "%s, %s", abuf, mbuf);
+ snprintf(THIS->__retvalue, MAXSTRINGLEN, "[%s, %s]", abuf, mbuf);
} else
strlcpy (THIS->__retvalue, "UNKNOWN", MAXSTRINGLEN);
}
@@ -136,7 +136,7 @@ function _struct_compat_utimbuf_u:string(uaddr:long)
if(_stp_copy_from_user((char*)&ubuf,ptr,sizeof(ubuf)) == 0) {
_stp_ctime(ubuf.actime, abuf, 24);
_stp_ctime(ubuf.modtime, mbuf, 24);
- snprintf(THIS->__retvalue, MAXSTRINGLEN, "%s, %s", abuf, mbuf);
+ snprintf(THIS->__retvalue, MAXSTRINGLEN, "[%s, %s]", abuf, mbuf);
} else
strlcpy (THIS->__retvalue, "UNKNOWN", MAXSTRINGLEN);
}
@@ -1736,7 +1736,7 @@ function _dfd_str(d) {
return sprint(d)
}
-function _utimensat_flag_str(f) {
+function _at_flag_str(f) {
if (f == 0x100) return "AT_SYMLINK_NOFOLLOW"
return sprintf("0x%x", f)
}