"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cryptsetup_reencrypt.c" between
cryptsetup-2.4.1.tar.xz and cryptsetup-2.4.2.tar.xz

About: cryptsetup is a utility used to conveniently setup disk encryption based on the dm-crypt kernel module. These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt compatible format.

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

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)