summaryrefslogtreecommitdiffstats
path: root/tapset/string.stp
diff options
context:
space:
mode:
authorhunt <hunt>2006-09-18 18:01:35 +0000
committerhunt <hunt>2006-09-18 18:01:35 +0000
commitf871d3f10c0fac033fa55532c34e9c406343ae2d (patch)
tree96dd452134d38c07b96509e29cd4b8add476def6 /tapset/string.stp
parentaa14db816a565c3a1e958f1c1f82692707fae673 (diff)
downloadsystemtap-steved-f871d3f10c0fac033fa55532c34e9c406343ae2d.tar.gz
systemtap-steved-f871d3f10c0fac033fa55532c34e9c406343ae2d.tar.xz
systemtap-steved-f871d3f10c0fac033fa55532c34e9c406343ae2d.zip
2006-09-18 Martin Hunt <hunt@redhat.com>
* logging.stp (stp_print_binary): New function. * string.stp: Fix docs.
Diffstat (limited to 'tapset/string.stp')
-rw-r--r--tapset/string.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/string.stp b/tapset/string.stp
index f1666afa..77925d0d 100644
--- a/tapset/string.stp
+++ b/tapset/string.stp
@@ -17,7 +17,7 @@ function strlen:long(s:string) %{ /* pure */
* @param str string
* @param start Starting position. 0 = start of the string
* @param length Length of string to return.
-* @return Returns the length of the string.
+* @return Returns the substring.
*/
function substr:string(str:string,start:long, length:long) %{ /* pure */
int length = THIS->length + 1 > MAXSTRINGLEN ? MAXSTRINGLEN : THIS->length + 1;