summaryrefslogtreecommitdiffstats
path: root/src/shared/libcrypt-util.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:23:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:23:15 +0000
commita8aaf8e758c59f6ef8f8d81a925a4188b69c23a1 (patch)
treeaf1080566988fd7582e765ef024947973f269f6a /src/shared/libcrypt-util.c
parentAdding debian version 252.25-1~deb12u1. (diff)
downloadsystemd-a8aaf8e758c59f6ef8f8d81a925a4188b69c23a1.tar.xz
systemd-a8aaf8e758c59f6ef8f8d81a925a4188b69c23a1.zip
Merging upstream version 252.26.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/shared/libcrypt-util.c')
-rw-r--r--src/shared/libcrypt-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/libcrypt-util.c b/src/shared/libcrypt-util.c
index 81e6f17..5ccf75a 100644
--- a/src/shared/libcrypt-util.c
+++ b/src/shared/libcrypt-util.c
@@ -114,7 +114,7 @@ static char* systemd_crypt_ra(const char *phrase, const char *setting, void **da
if (!*data) {
*data = new0(struct crypt_data, 1);
if (!*data) {
- errno = -ENOMEM;
+ errno = ENOMEM;
return NULL;
}