options/internal: Fix file_window debug message
@@ -35,7 +35,8 @@ struct file_window {
break;
progress += chunk;
}
- mlibc::infoLogger() << "stat says " << info.st_size << " but we got "
+ if(progress != info.st_size)
+ mlibc::panicLogger() << "stat reports " << info.st_size << " but we only read "
<< progress << " bytes" << frg::endlog;
#endif
