mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
Improve the error message by naming the port
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user