mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04: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
sync.c
2
sync.c
|
|
@ -213,7 +213,7 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
|
|||
|| STAT_NSEC(&handle[j].st) != block_file_get(block)->mtime_nsec)
|
||||
fprintf(stderr, "Unexpected time change at file '%s'.\n", handle[j].path);
|
||||
else
|
||||
fprintf(stderr, "Unexpected inode change from %"PRIu64" to %"PRIu64" at file '%s'.\n", block_file_get(block)->inode, handle[j].st.st_ino, handle[j].path);
|
||||
fprintf(stderr, "Unexpected inode change from %"PRIu64" to %"PRIu64" at file '%s'.\n", block_file_get(block)->inode, (uint64_t)handle[j].st.st_ino, handle[j].path);
|
||||
fprintf(stderr, "WARNING! You cannot modify files during a sync. Rerun the sync command when finished.\n");
|
||||
|
||||
++unrecoverable_error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue