summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/interface
diff options
context:
space:
mode:
authorMichael Brown2013-08-01 15:39:58 +0200
committerMichael Brown2013-08-01 15:39:58 +0200
commitc70d4cb1b39eae7b026d34575431fe8a54c65998 (patch)
treed7105390abdf7e2ba972c5f0c21aa4a63ef3f42b /src/arch/i386/interface
parent[script] Allow commands following a script label (diff)
downloadipxe-c70d4cb1b39eae7b026d34575431fe8a54c65998.tar.gz
ipxe-c70d4cb1b39eae7b026d34575431fe8a54c65998.tar.xz
ipxe-c70d4cb1b39eae7b026d34575431fe8a54c65998.zip
[settings] Introduce the generalised concept of a numeric setting
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/interface')
-rw-r--r--src/arch/i386/interface/vmware/guestinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/interface/vmware/guestinfo.c b/src/arch/i386/interface/vmware/guestinfo.c
index 8ce363aaf..7fa41b86b 100644
--- a/src/arch/i386/interface/vmware/guestinfo.c
+++ b/src/arch/i386/interface/vmware/guestinfo.c
@@ -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 ) );