Corrected a missing variable in a print statement in the SPICE read

routine that can cause a segfault.
This commit is contained in:
Tim Edwards 2021-03-02 21:48:48 -05:00
parent 792c5e569a
commit a21ba820e9
1 changed files with 1 additions and 1 deletions

View File

@ -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;