summaryrefslogtreecommitdiff
path: root/src/boot/efi/util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-05 12:55:59 +0100
committerGitHub <noreply@github.com>2022-01-05 12:55:59 +0100
commita8d50a3575181d1c971311383af5c11c54f0506f (patch)
tree03310bed185a9aa56bef77ff01e0e85d2de87b5d /src/boot/efi/util.c
parente37d30f334830fab4decd52ef3c17fa09b7b0d92 (diff)
parent7ffc4f4748e559a4c5583df01b70e91e8ca8e54c (diff)
downloadsystemd-a8d50a3575181d1c971311383af5c11c54f0506f.tar.gz
Merge pull request #21981 from medhefgo/boot-cleanup
boot: Cleanup
Diffstat (limited to 'src/boot/efi/util.c')
-rw-r--r--src/boot/efi/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/efi/util.c b/src/boot/efi/util.c
index dbd7301d71..ab47e10898 100644
--- a/src/boot/efi/util.c
+++ b/src/boot/efi/util.c
@@ -436,7 +436,7 @@ CHAR8 *strchra(const CHAR8 *s, CHAR8 c) {
}
EFI_STATUS file_read(EFI_FILE_HANDLE dir, const CHAR16 *name, UINTN off, UINTN size, CHAR8 **ret, UINTN *ret_size) {
- _cleanup_(FileHandleClosep) EFI_FILE_HANDLE handle = NULL;
+ _cleanup_(file_handle_closep) EFI_FILE_HANDLE handle = NULL;
_cleanup_freepool_ CHAR8 *buf = NULL;
EFI_STATUS err;
@@ -703,7 +703,7 @@ EFI_STATUS open_directory(
const CHAR16 *path,
EFI_FILE_HANDLE *ret) {
- _cleanup_(FileHandleClosep) EFI_FILE_HANDLE dir = NULL;
+ _cleanup_(file_handle_closep) EFI_FILE_HANDLE dir = NULL;
_cleanup_freepool_ EFI_FILE_INFO *file_info = NULL;
EFI_STATUS err;