diff --git a/frontend/scanimage.c b/frontend/scanimage.c index bb817272d..2c7ffdc90 100644 --- a/frontend/scanimage.c +++ b/frontend/scanimage.c @@ -1408,6 +1408,9 @@ scan_it (void) } } + /* flush the output buffer */ + fflush( stdout ); + cleanup: if (image.data) free (image.data);