chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use memzero(foo, length); for all memset(foo, 0, length); calls
[elogind.git]
/
src
/
boot
/
boot-efi.c
diff --git
a/src/boot/boot-efi.c
b/src/boot/boot-efi.c
index 1c80126cc5eed1fc7d12aaec15586b426e95cf57..426652595e4d45ede41707713753c317bca902ee 100644
(file)
--- a/
src/boot/boot-efi.c
+++ b/
src/boot/boot-efi.c
@@
-69,7
+69,7
@@
static int get_boot_entries(struct boot_info *info) {
info->fw_entries = e;
e = &info->fw_entries[info->fw_entries_count];
- mem
set(e, 0
, sizeof(struct boot_info_entry));
+ mem
zero(e
, sizeof(struct boot_info_entry));
e->order = -1;
err = efi_get_boot_option(list[i], &e->title, &e->part_uuid, &e->path);