Remove trailing EOL for verbose and error messages.

This commit is contained in:
Milan Broz
2018-04-26 10:38:17 +02:00
parent aee55b0595
commit b00a87d8fa
24 changed files with 316 additions and 317 deletions

View File

@@ -177,7 +177,7 @@ int crypt_wipe_device(struct crypt_device *cd,
goto out;
if (lseek64(devfd, offset, SEEK_SET) < 0) {
log_err(cd, "Cannot seek to device offset.\n");
log_err(cd, "Cannot seek to device offset.");
r = -EINVAL;
goto out;
}
@@ -201,7 +201,7 @@ int crypt_wipe_device(struct crypt_device *cd,
r = wipe_block(devfd, pattern, sf, bsize, alignment,
wipe_block_size, offset, &need_block_init);
if (r) {
log_err(cd, "Device wipe error, offset %" PRIu64 ".\n", offset);
log_err(cd, "Device wipe error, offset %" PRIu64 ".", offset);
break;
}