aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/google/chromeos/vpd_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/google/chromeos/vpd_mac.c')
-rw-r--r--src/vendorcode/google/chromeos/vpd_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/google/chromeos/vpd_mac.c b/src/vendorcode/google/chromeos/vpd_mac.c
index 097afcbac0..385b9f475d 100644
--- a/src/vendorcode/google/chromeos/vpd_mac.c
+++ b/src/vendorcode/google/chromeos/vpd_mac.c
@@ -73,7 +73,7 @@ void lb_table_add_macs_from_vpd(struct lb_header *header)
* in the VPD - move on.
*/
if (!vpd_gets(mac_addr_key, mac_addr_str,
- sizeof(mac_addr_str), VPD_ANY))
+ sizeof(mac_addr_str), VPD_RO_THEN_RW))
break;
if (!macs) {