Message ID | 1399168281-20626-4-git-send-email-jmccrohan@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/util/szap/czap.c b/util/szap/czap.c index f49c524..062545f 100644 --- a/util/szap/czap.c +++ b/util/szap/czap.c @@ -227,9 +227,10 @@ int monitor_frontend (int fe_fd, int human_readable) if (status & FE_HAS_LOCK) printf("FE_HAS_LOCK"); - usleep(1000000); printf("\n"); + fflush(stdout); + usleep(1000000); if (exit_after_tuning && (status & FE_HAS_LOCK)) break; diff --git a/util/szap/szap.c b/util/szap/szap.c index 90bdbfb..12f393c 100644 --- a/util/szap/szap.c +++ b/util/szap/szap.c @@ -204,6 +204,7 @@ static int monitor_frontend (int fe_fd, int dvr, int human_readable) if (exit_after_tuning && ((status & FE_HAS_LOCK) || (++timeout >= 10))) break; + fflush(stdout); usleep(1000000); } while (1);
Bug-Debian: http://bugs.debian.org/357126 Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> --- util/szap/czap.c | 3 ++- util/szap/szap.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)