Corrected a missing variable in a print statement in the SPICE read
routine that can cause a segfault.
This commit is contained in:
parent
792c5e569a
commit
a21ba820e9
|
|
@ -1186,7 +1186,7 @@ skip_ends:
|
|||
else if (CountPorts(model, filenum) != 2) {
|
||||
/* Modeled device: Make sure it has the right number of ports */
|
||||
Fprintf(stderr, "Device \"%s\" has wrong number of ports for a "
|
||||
"resistor.\n");
|
||||
"resistor.\n", model);
|
||||
goto baddevice;
|
||||
}
|
||||
usemodel = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue