mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 06:10:13 -05:00
Rework the portable support
This commit is contained in:
parent
34fc79464b
commit
b3879f7f8e
9 changed files with 139 additions and 128 deletions
|
|
@ -1612,12 +1612,12 @@ static void* scan_disk(void* arg)
|
|||
}
|
||||
}
|
||||
|
||||
start = tick_ms();
|
||||
start = os_tick_ms();
|
||||
|
||||
scan_dir(scan, 0, scan->is_diff, disk->dir, "");
|
||||
|
||||
if (!scan->is_diff)
|
||||
msg_progress("Scanned %s in %" PRIu64 " seconds\n", disk->name, (tick_ms() - start) / 1000);
|
||||
msg_progress("Scanned %s in %" PRIu64 " seconds\n", disk->name, (os_tick_ms() - start) / 1000);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue