Skip to content

Commit 3111a33

Browse files
committed
swap_gitid.tcl: fix typo
1 parent 8e78513 commit 3111a33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-tools/vivado_tcl/swap_gitid.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ proc swap_gitid {old_commit new_commit rowwidth dry_run} {
204204
puts "no relevant 8Kx8 BRAM found"
205205
return 0
206206
}
207-
set lc0 [length $c0]
208-
set lc1 [length $c1]
207+
set lc0 [llength $c0]
208+
set lc1 [llength $c1]
209209
if {$lc0 != 1 || $lc1 != 1} {
210210
puts "ERROR: swap_gitid can't handle case $rowwidth $lc0 $lc1 yet!"
211211
return 0

0 commit comments

Comments
 (0)