Skip to content

Commit

Permalink
Merge pull request #32 from gonzoleeman/master
Browse files Browse the repository at this point in the history
iBFT 'origin' is an enum, not a string
  • Loading branch information
gonzoleeman committed Nov 18, 2016
2 parents 8db9717 + 3f15a22 commit ca0e8eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/fwparam_ibft/fwparam_ibft_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ static int fill_nic_context(char *id, struct boot_context *context)
sizeof(context->secondary_dns));
sysfs_get_str(id, IBFT_SUBSYS, "dhcp", context->dhcp,
sizeof(context->dhcp));
sysfs_get_str(id, IBFT_SUBSYS, "origin", context->origin,
sizeof(context->origin));
sysfd_get_int(id, IBFT_SUBSYS, "origin", &context->origin);
return 0;
}

Expand Down

0 comments on commit ca0e8eb

Please sign in to comment.