summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--library/clock.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/clock.tcl b/library/clock.tcl
index d65d9af..bf69789 100644
--- a/library/clock.tcl
+++ b/library/clock.tcl
@@ -3416,7 +3416,7 @@ proc ::tcl::clock::LoadTimeZoneFile { fileName } {
if { [regexp {^[/\\]|^[a-zA-Z]+:|(?:^|[/\\])\.\.} $fileName] } {
return -code error \
- -errorcode [list CLOCK badTimeZone $:fileName] \
+ -errorcode [list CLOCK badTimeZone :$fileName] \
"time zone \":$fileName\" not valid"
}
if { [catch {