summaryrefslogtreecommitdiff
path: root/lib/assert.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/assert.pl')
-rw-r--r--lib/assert.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/assert.pl b/lib/assert.pl
index cfda70cf29..0661d70af5 100644
--- a/lib/assert.pl
+++ b/lib/assert.pl
@@ -12,7 +12,7 @@
# routine shamelessly borrowed from the perl debugger.
sub assert {
- &panic("ASSERTION BOTCHED: $_[0]",$@) unless eval $_[0];
+ &panic("ASSERTION BOTCHED: $_[$[]",$@) unless eval $_[$[];
}
sub panic {