Skip to content

Commit

Permalink
Add size in verify mode -v
Browse files Browse the repository at this point in the history
  • Loading branch information
phaag committed Jun 2, 2024
1 parent b3869bc commit f4fecaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libnffile/nffile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,7 @@ int QueryFile(char *filename, int verbose) {
}

printf("File : %s\n", filename);
printf("Size : %lld\n", stat_buf.st_size);
if (fileHeader.version == LAYOUT_VERSION_1) {
if (lseek(fd, 0, SEEK_SET) < 0) {
LogError("lseek() error in %s line %d: %s", __FILE__, __LINE__, strerror(errno));
Expand Down

0 comments on commit f4fecaa

Please sign in to comment.