diff --git a/src/spicelib/parser/inp2dot.c b/src/spicelib/parser/inp2dot.c index bf035e52d..f1f5ee510 100644 --- a/src/spicelib/parser/inp2dot.c +++ b/src/spicelib/parser/inp2dot.c @@ -877,7 +877,9 @@ INP2dot(CKTcircuit *ckt, INPtables *tab, struct card *current, TSKtask *task, CK rtn = 0; goto quit; } - LITERR(" unimplemented control card - error \n"); + char *token2 = tprintf(" unimplemented dot command '%s'\n", token); + LITERR(token2); + tfree(token2); quit: tfree(token); return rtn;