diff --git a/src/bin/eolian/main.c b/src/bin/eolian/main.c index 2b66a8917f..0b288d1d38 100644 --- a/src/bin/eolian/main.c +++ b/src/bin/eolian/main.c @@ -67,10 +67,11 @@ _read_file(char *filename, Eina_Strbuf *buffer) ERR("Couldnt allocate memory for file %s", filename); goto end; } - long actual_size = (long)fread(content, file_size, 1, fd); + long actual_size = (long)fread(content, 1, file_size, fd); if (actual_size != file_size) { - ERR("Couldnt read the %ld bytes of file %s", file_size, filename); + ERR("Couldnt read the %ld bytes of file %s (read %ld bytes)", + file_size, filename, actual_size); free(content); goto end; }