diff --git a/src/fe_utils/print.c b/src/fe_utils/print.c index e8772a278c3..273b1bfe4a4 100644 --- a/src/fe_utils/print.c +++ b/src/fe_utils/print.c @@ -3331,6 +3331,9 @@ printTable(const printTableContent *cont, is_local_pager = is_pager; } + /* clear any pre-existing error indication on the output stream */ + clearerr(fout); + /* print the stuff */ if (flog)