In order to make the debug print in file_fat_read_at() a tad more useful,
show the offset the file is being read at alongside the filename.
Suggested-by: Tero Kristo <[email protected]>
Signed-off-by: Andreas Dannenberg <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
if (ret)
goto out_free_both;
- debug("reading %s\n", filename);
+ debug("reading %s at pos %llu\n", filename, pos);
ret = get_contents(&fsdata, itr->dent, pos, buffer, maxsize, actread);
out_free_both: