diff --git a/i_sndfile/i_sndfile.cpp b/i_sndfile/i_sndfile.cpp
index 9f7f1633785f9cc4b8209c94ab91118aaaab308d..f303bf0973c42978fb3d22c6d68d064c219c3cd2 100644
--- a/i_sndfile/i_sndfile.cpp
+++ b/i_sndfile/i_sndfile.cpp
@@ -42,7 +42,8 @@ int main(int argc, char**argv){
     BLC_COMMAND_LOOP(period*1000){
         read_items_nb=sf_read_float(sndfile, output.floats, output.total_length);
         if (read_items_nb!=output.total_length) {
-            PRINT_WARNING("Iteration %d: Missing data. Read '%d' items instead of '%d'", blc_loop_iteration,  read_items_nb, output.total_length);
+           color_eprintf(BLC_YELLOW, "%s: Iteration %d: Missing data. Read '%d' items instead of '%d'. It is probably the end of the file\n", blc_program_name, blc_loop_iteration,  read_items_nb, output.total_length);
+            blc_command_ask_quit();
             break;
         }
     }