Browse Source

Improve the error message by naming the port

pre-master-46
Holger Vogt 6 months ago
parent
commit
144f1c6fc6
  1. 4
      src/xspice/mif/mif_inp2.c

4
src/xspice/mif/mif_inp2.c

@ -769,7 +769,9 @@ MIFget_port_type(
}
if(! found_type) {
LITERR("Port type is invalid");
char mesg[32];
snprintf(mesg, 31, "Port type %s is invalid", temp);
LITERR(mesg);
*status = MIF_ERROR;
} else {

Loading…
Cancel
Save