diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-11-07 14:26:41 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-11-07 14:26:41 +0100 |
commit | a2de36d8ce58e815dcfea081414b42e0956d5637 (patch) | |
tree | a05fdff8080ca8c460dbed399dad0a7ef567d939 /fs | |
parent | 760bc83263877de1c49598ad6bdc6aecaf772d07 (diff) | |
parent | 6ab809a3d5b6ddec6e0dd12096fd0ce6bab66006 (diff) | |
download | barebox-a2de36d8ce58e815dcfea081414b42e0956d5637.tar.gz barebox-a2de36d8ce58e815dcfea081414b42e0956d5637.tar.xz |
Merge branch 'for-next/efi'
Diffstat (limited to 'fs')
-rw-r--r-- | fs/efivarfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/efivarfs.c b/fs/efivarfs.c index 1e80493621..9eadda4121 100644 --- a/fs/efivarfs.c +++ b/fs/efivarfs.c @@ -145,7 +145,7 @@ static int efivars_create(struct device_d *dev, const char *pathname, mode_t mod if (ret) return -ENOENT; - if (memcmp(&vendor, &EFI_BAREBOX_VENDOR_GUID, sizeof(efi_guid_t))) + if (efi_guidcmp(vendor, EFI_BAREBOX_VENDOR_GUID)) return -EPERM; inode = xzalloc(sizeof(*inode)); |