Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159209729
D31939.id95065.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
620 B
Referenced Files
None
Subscribers
None
D31939.id95065.diff
View Options
Index: usr.sbin/efitable/efitable.c
===================================================================
--- usr.sbin/efitable/efitable.c
+++ 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");
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 12, 9:20 AM (4 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33903885
Default Alt Text
D31939.id95065.diff (620 B)
Attached To
Mode
D31939: efitable: Don't pass NULL as a format string to xo_err().
Attached
Detach File
Event Timeline
Log In to Comment