Page MenuHomeFreeBSD

D31939.diff
No OneTemporary

D31939.diff

diff --git a/usr.sbin/efitable/efitable.c b/usr.sbin/efitable/efitable.c
--- a/usr.sbin/efitable/efitable.c
+++ b/usr.sbin/efitable/efitable.c
@@ -146,13 +146,13 @@
table.uuid = efi_table_ops[efi_idx].uuid;
if (ioctl(efi_fd, EFIIOC_GET_TABLE, &table) == -1)
- xo_err(EX_OSERR, NULL);
+ xo_err(EX_OSERR, "EFIIOC_GET_TABLE (len == 0)");
table.buf = malloc(table.table_len);
table.buf_len = table.table_len;
if (ioctl(efi_fd, EFIIOC_GET_TABLE, &table) == -1)
- xo_err(EX_OSERR, NULL);
+ xo_err(EX_OSERR, "EFIIOC_GET_TABLE");
efi_table_ops[efi_idx].parse(table.buf);
close(efi_fd);

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 6:39 AM (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14711927
Default Alt Text
D31939.diff (605 B)

Event Timeline