summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhunt <hunt>2007-08-03 20:48:36 +0000
committerhunt <hunt>2007-08-03 20:48:36 +0000
commitc01b837739a244a3230b8b6aaae7f44540ce4c6b (patch)
tree71615a43eb312b504f7f5a9cf792f1246007c3d4
parent1a680ee7d7f3654f9229e66ba4240093667051d9 (diff)
downloadsystemtap-steved-c01b837739a244a3230b8b6aaae7f44540ce4c6b.tar.gz
systemtap-steved-c01b837739a244a3230b8b6aaae7f44540ce4c6b.tar.xz
systemtap-steved-c01b837739a244a3230b8b6aaae7f44540ce4c6b.zip
2007-08-03 Martin Hunt <hunt@redhat.com>
* aux_syscalls.stp (__get_compat_argv): Add cast.
-rw-r--r--tapset/ChangeLog4
-rw-r--r--tapset/aux_syscalls.stp2
2 files changed, 5 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 93beb971..e8d223cc 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-03 Martin Hunt <hunt@redhat.com>
+
+ * aux_syscalls.stp (__get_compat_argv): Add cast.
+
2007-07-31 Martin Hunt <hunt@redhat.com>
* syscalls*: Move sys32_sysctl to arch dirs.
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index 8f9fcb73..05c2a15a 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -670,7 +670,7 @@ function __get_compat_argv:string(a:long)
if (vstr == NULL)
break;
- rc = _stp_strncpy_from_user(buf, vstr, 79);
+ rc = _stp_strncpy_from_user(buf, (char *)vstr, 79);
if (rc <= 0)
break;