cryptsetup_reencrypt.c (cryptsetup-2.4.1.tar.xz) | : | cryptsetup_reencrypt.c (cryptsetup-2.4.2.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 353 | skipping to change at line 353 | |||
return -EIO; | return -EIO; | |||
} | } | |||
rc->log_buf[SECTOR_SIZE - 1] = '\0'; | rc->log_buf[SECTOR_SIZE - 1] = '\0'; | |||
start = rc->log_buf; | start = rc->log_buf; | |||
do { | do { | |||
end = strchr(start, '\n'); | end = strchr(start, '\n'); | |||
if (end) { | if (end) { | |||
*end++ = '\0'; | *end++ = '\0'; | |||
if (parse_line_log(rc, start)) { | if (parse_line_log(rc, start)) { | |||
log_err("Wrong log format."); | log_err(_("Wrong log format.")); | |||
return -EINVAL; | return -EINVAL; | |||
} | } | |||
} | } | |||
start = end; | start = end; | |||
} while (start); | } while (start); | |||
return 0; | return 0; | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |