summaryrefslogtreecommitdiffstats
path: root/tapset/builtin_logging.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/builtin_logging.stp')
-rw-r--r--tapset/builtin_logging.stp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tapset/builtin_logging.stp b/tapset/builtin_logging.stp
index bf01a0fc..b1948877 100644
--- a/tapset/builtin_logging.stp
+++ b/tapset/builtin_logging.stp
@@ -24,9 +24,8 @@ function warn (msg) {
_warn (msg . "")
}
+// NB: exit() does *not* cause immediate return from current function/probe
function exit () %{
- /* not a NULL pointer, but don't cause _stp_error */
- CONTEXT->last_error = "";
_stp_exit ();
%}