From 49f93810142f22bc3bc86a9ccbe96f1f56b578ac Mon Sep 17 00:00:00 2001 From: Philipp Takacs Date: Sun, 8 May 2016 18:40:51 +0200 Subject: [PATCH] use old error message --- uip/scansbr.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/uip/scansbr.c b/uip/scansbr.c index 0495838..48837d7 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -199,12 +199,15 @@ body:; state = FILEEOF2; goto finished; } - compnum++; - advise(NULL, "formate error in component #%d", compnum); + state = FLD2; + fprintf(stderr, innum ? + "??Format error (message %d) in " : + "??Format error in ", + outnum ? outnum : innum); + fprintf(stderr, "component %d\n", compnum); continue; case IOERR2: -handleerror:; fprintf(stderr, innum ? "??Format error (message %d) in " : "??Format error in ", -- 1.7.10.4