Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142485103
D50034.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
559 B
Referenced Files
None
Subscribers
None
D50034.diff
View Options
diff --git a/lib/libefivar/efivar.c b/lib/libefivar/efivar.c
--- a/lib/libefivar/efivar.c
+++ b/lib/libefivar/efivar.c
@@ -77,7 +77,6 @@
{ "f46ee6f4-4785-43a3-923d-7f786c3c8479", "lenovo_startup_interrupt", Z },
{ "ffffffff-ffff-ffff-ffff-ffffffffffff", "zzignore-this-guid", Z },
};
-#undef Z
static void
efi_guid_tbl_compile(void)
@@ -293,9 +292,7 @@
int
efi_guid_is_zero(const efi_guid_t *guid)
{
- uint32_t status;
-
- return uuid_is_nil((const uuid_t *)guid, &status);
+ return (memcmp(guid, &efi_guid_empty, sizeof(*guid)) == 0);
}
int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 8:26 AM (21 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27797873
Default Alt Text
D50034.diff (559 B)
Attached To
Mode
D50034: efivar: Test uuid against zero
Attached
Detach File
Event Timeline
Log In to Comment