mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 03:47:05 -05:00
Escape path in the log file
This commit is contained in:
parent
8f2b148ff1
commit
ea07a7025e
13 changed files with 165 additions and 92 deletions
|
|
@ -846,7 +846,7 @@ static void state_smart(int verbose, unsigned n, tommy_list* low)
|
|||
|
||||
printf("\n");
|
||||
|
||||
ftag("smart:%s:%s:%s:%g\n", devinfo->file, devinfo->name, devinfo->smart_serial, afr);
|
||||
ftag("smart:%s:%s:%s:%g\n", devinfo->file, devinfo->name, esc(devinfo->smart_serial), afr);
|
||||
for (j = 0; j < 256; ++j) {
|
||||
if (devinfo->smart[j] != SMART_UNASSIGNED)
|
||||
ftag("attr:%s:%u:%" PRIu64 "\n", devinfo->file, j, devinfo->smart[j]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue