diff --git a/jtag/src/cmd/bit.c b/jtag/src/cmd/bit.c index 0cd32b5f..6bcd4a77 100644 --- a/jtag/src/cmd/bit.c +++ b/jtag/src/cmd/bit.c @@ -140,7 +140,7 @@ cmd_bit_run( char *params[] ) bsr->in->data[bit] = safe; /* allocate bsbit */ - part->bsbits[bit] = bsbit_alloc( bit, params[4], type, part->signals, safe ); + part->bsbits[bit] = bsbit_alloc( bit, params[4], type, part_find_signal( part, params[4] ), safe ); if (part->bsbits[bit] == NULL) { printf( _("%s: out of memory for command '%s'\n"), "bit", command ); return 1;