mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Remove trailing EOL for verbose and error messages.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user