Fix minor typo.

Fixes: #752
This commit is contained in:
Yuri Chornoivan
2022-06-20 11:37:44 +00:00
committed by Ondrej Kozina
parent 8f8703f1c3
commit 83103627b2

View File

@@ -711,7 +711,7 @@ static int decrypt_luks2_datashift_init(struct crypt_device **cd,
r = fchmod(fd, hdr_st.st_mode | S_IRUSR | S_IWUSR); r = fchmod(fd, hdr_st.st_mode | S_IRUSR | S_IWUSR);
close(fd); close(fd);
if (r) { if (r) {
log_err(_("Failed to add read/wrire permissions to exported header file.")); log_err(_("Failed to add read/write permissions to exported header file."));
r = -EINVAL; r = -EINVAL;
goto out; goto out;
} }