diff --git a/src/frontend/inp.c b/src/frontend/inp.c index 0ee0381ba..eab724729 100644 --- a/src/frontend/inp.c +++ b/src/frontend/inp.c @@ -927,8 +927,10 @@ inp_dodeck( } /* for (dd = deck; dd; dd = dd->li_next) */ /* Stop here and exit if error occurred in batch mode */ - if (have_err && ft_batchmode) + if (have_err && ft_batchmode) { + fprintf(stderr, "\nngspice stopped due to error, no simulation run!\n"); controlled_exit(EXIT_BAD); + } /* Only print out netlist if brief is FALSE */ if (!cp_getvar("brief", CP_BOOL, NULL)) { diff --git a/src/spicelib/parser/inp2q.c b/src/spicelib/parser/inp2q.c index d114b8e60..a1b075d23 100644 --- a/src/spicelib/parser/inp2q.c +++ b/src/spicelib/parser/inp2q.c @@ -156,7 +156,7 @@ void INP2Q(CKTcircuit *ckt, INPtables * tab, card * current, CKTnode *gnode) IFnewUid(ckt, &uid, NULL, "Q", UID_MODEL, NULL); IFC(newModel, (ckt, type, &(tab->defQmod), uid)); err = TMALLOC(char, 70 + strlen(model)); - (void) sprintf(err, "Unable to find definition of model %s - default BJT assumed \n", model); + (void) sprintf(err, "Unable to find definition of model %s\n", model); LITERR(err); tfree(err); }