diff --git a/src/xspice/mif/mif_inp2.c b/src/xspice/mif/mif_inp2.c index 34aba5825..f6b170894 100644 --- a/src/xspice/mif/mif_inp2.c +++ b/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 {