diff --git a/src/xspice/mif/mifgetmod.c b/src/xspice/mif/mifgetmod.c index 075a15f09..9c05c96ea 100644 --- a/src/xspice/mif/mifgetmod.c +++ b/src/xspice/mif/mifgetmod.c @@ -174,7 +174,7 @@ char *MIFgetMod( line = modtmp->INPmodLine->line; INPgetTok(&line,&parm,1); /* throw away '.model' */ tfree(parm); - INPgetTok(&line,&parm,1); /* throw away 'modname' */ + INPgetNetTok(&line,&parm,1); /* throw away 'modname' */ tfree(parm); /* throw away the modtype - we don't treat it as a parameter */