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
commita735309d17eb99e4df3d952c5e5d3e60f8fe5a40 (patch)
tree1e33fbce443dfaf2f246fe133925c059eb707854 /src/shared/libcrypt-util.c
parentAdding upstream version 252.25. (diff)
downloadsystemd-upstream/252.26.tar.xz
systemd-upstream/252.26.zip
Adding upstream version 252.26.upstream/252.26upstream
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;
}