diff options
Diffstat (limited to 'tapset/context.stp')
-rw-r--r-- | tapset/context.stp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tapset/context.stp b/tapset/context.stp index bea07d81..a97d6f13 100644 --- a/tapset/context.stp +++ b/tapset/context.stp @@ -104,7 +104,7 @@ function probefunc:string () %{ /* pure */ while (*ptr != '@' && --len > 0 && *ptr) *dst++ = *ptr++; *dst = 0; - goto out; + goto done; } if (CONTEXT->regs) { str = _stp_string_init (0); @@ -120,9 +120,10 @@ function probefunc:string () %{ /* pure */ else { strlcpy(THIS->__retvalue, _stp_string_ptr(str),MAXSTRINGLEN); } - goto out; + goto done; } THIS->__retvalue[0] = '\0'; +done: ; %} function is_return:long () %{ /* pure */ |