Skip to content

Commit

Permalink
[settings] Introduce the generalised concept of a numeric setting
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Aug 1, 2013
1 parent 31f5211 commit c70d4cb
Show file tree
Hide file tree
Showing 4 changed files with 542 additions and 183 deletions.
2 changes: 1 addition & 1 deletion src/arch/i386/interface/vmware/guestinfo.c
Expand Up @@ -114,7 +114,7 @@ static int guestinfo_fetch_type ( struct settings *settings,
settings, &command[9] /* Skip "info-get " */, info );

/* Parse GuestInfo value according to type */
ret = type->parse ( info, data, len );
ret = setting_parse ( type, info, data, len );
if ( ret < 0 ) {
DBGC ( settings, "GuestInfo %p could not parse \"%s\" as %s: "
"%s\n", settings, info, type->name, strerror ( ret ) );
Expand Down

0 comments on commit c70d4cb

Please sign in to comment.