summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/error.c b/error.c
index 62748faff0..531c607509 100644
--- a/error.c
+++ b/error.c
@@ -1588,14 +1588,14 @@ syserr_eqq(VALUE self, VALUE exc)
*
* foo = "bar"
* proc = Proc.new do
- * $SAFE = 4
- * foo.gsub! "a", "*"
+ * $SAFE = 3
+ * foo.untaint
* end
* proc.call
*
* <em>raises the exception:</em>
*
- * SecurityError: Insecure: can't modify string
+ * SecurityError: Insecure: Insecure operation `untaint' at level 3
*/
/*