mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 09:26:27 -05:00
When printing inodes ensure to use 64 bits conversion in case inode is 32 bit.
This commit is contained in:
parent
5b048d8eab
commit
7c9bf5f5f2
2 changed files with 2 additions and 2 deletions
2
scan.c
2
scan.c
|
|
@ -164,7 +164,7 @@ static void scan_file(struct snapraid_scan* scan, struct snapraid_state* state,
|
|||
printf("warning: Ignored hardlink '%s%s'\n", disk->dir, sub);
|
||||
return;
|
||||
} else {
|
||||
fprintf(stderr, "Internal inode '%"PRIu64"' inconsistency for file '%s%s'\n", st->st_ino, disk->dir, sub);
|
||||
fprintf(stderr, "Internal inode '%"PRIu64"' inconsistency for file '%s%s'\n", (uint64_t)st->st_ino, disk->dir, sub);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue