mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 12:57:14 -05:00
Adds a new -l, --log option.
This commit is contained in:
parent
7f8551fccb
commit
0200a2b7fa
19 changed files with 280 additions and 193 deletions
2
dup.c
2
dup.c
|
|
@ -118,7 +118,7 @@ void state_dup(struct snapraid_state* state)
|
|||
++count;
|
||||
size += dup->file->size;
|
||||
if (state->gui) {
|
||||
fprintf(stderr, "dup:%s:%s:%s:%s:%"PRIu64": dup\n", disk->name, file->sub, dup->disk->name, dup->file->sub, dup->file->size);
|
||||
fprintf(stdlog, "dup:%s:%s:%s:%s:%"PRIu64": dup\n", disk->name, file->sub, dup->disk->name, dup->file->sub, dup->file->size);
|
||||
} else {
|
||||
printf("Duplicate '%s%s'\n", disk->dir, file->sub);
|
||||
printf("of '%s%s'\n", dup->disk->dir, dup->file->sub);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue