summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/sablot/sablot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sablot/sablot.c b/ext/sablot/sablot.c
index 3af1977451..4833f37c72 100644
--- a/ext/sablot/sablot.c
+++ b/ext/sablot/sablot.c
@@ -715,7 +715,7 @@ PHP_FUNCTION(xslt_error)
serrno = SABLOTG(last_errno);
}
- RETURN_STRING((char *)SablotGetMsgText(errno), 1);
+ RETURN_STRING((char *)SablotGetMsgText(serrno), 1);
}
/* }}} */