mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 09:32:33 +03:00
[settings] Introduce the generalised concept of a numeric setting
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user