projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82efe05
)
boot: fix assignment of ret_* variables in `initrd_prepare()`
author
Antonio Alvarez Feijoo
<antonio.feijoo@suse.com>
Thu, 18 Apr 2024 09:58:07 +0000
(11:58 +0200)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Thu, 18 Apr 2024 12:13:38 +0000
(14:13 +0200)
src/boot/efi/boot.c
patch
|
blob
|
history
diff --git
a/src/boot/efi/boot.c
b/src/boot/efi/boot.c
index 6c0f956c32f17cc052f1216818770e21dc04ea4c..b4decc152d0369451ed1c7e7759abdab7de115c8 100644
(file)
--- a/
src/boot/efi/boot.c
+++ b/
src/boot/efi/boot.c
@@
-2255,9
+2255,9
@@
static EFI_STATUS initrd_prepare(
assert(ret_initrd_size);
if (entry->type != LOADER_LINUX || !entry->initrd) {
- ret_options = NULL;
- ret_initrd = NULL;
- ret_initrd_size = 0;
+
*
ret_options = NULL;
+
*
ret_initrd = NULL;
+
*
ret_initrd_size = 0;
return EFI_SUCCESS;
}