projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc65d63
)
libcrypt-util: fix wrong errno value assignment
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 10 May 2024 12:06:24 +0000
(21:06 +0900)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Fri, 10 May 2024 13:56:52 +0000
(15:56 +0200)
Follow-up for
9de324c3c919f20fd49e1d25579f5a66cac0eaa0
.
src/shared/libcrypt-util.c
patch
|
blob
|
history
diff --git
a/src/shared/libcrypt-util.c
b/src/shared/libcrypt-util.c
index 2f3abe4e89438aee55975a00cef395f80352a99a..50b2502166bf74cce9d0f1df44c0f8023255e564 100644
(file)
--- 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;
}