diff options
author | Michael Brown | 2012-10-15 04:08:41 +0200 |
---|---|---|
committer | Michael Brown | 2012-10-15 19:32:16 +0200 |
commit | 08a6ae86a2ddafe51fa64e8f40a4c89cd613ecfb (patch) | |
tree | ee39945f32c2cd8b78e5a426c5ecba09cfa4a6ef /src/core/nvo.c | |
parent | [settings] Treat an empty formatted value as meaning "delete setting" (diff) | |
download | ipxe-08a6ae86a2ddafe51fa64e8f40a4c89cd613ecfb.tar.gz ipxe-08a6ae86a2ddafe51fa64e8f40a4c89cd613ecfb.tar.xz ipxe-08a6ae86a2ddafe51fa64e8f40a4c89cd613ecfb.zip |
[nvo] Expose non-volatile options block name
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/nvo.c')
-rw-r--r-- | src/core/nvo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/nvo.c b/src/core/nvo.c index ffa30b89..11074e67 100644 --- a/src/core/nvo.c +++ b/src/core/nvo.c @@ -296,7 +296,8 @@ int register_nvo ( struct nvo_block *nvo, struct settings *parent ) { goto err_load; /* Register settings */ - if ( ( rc = register_settings ( &nvo->settings, parent, "nvo" ) ) != 0 ) + if ( ( rc = register_settings ( &nvo->settings, parent, + NVO_SETTINGS_NAME ) ) != 0 ) goto err_register; DBGC ( nvo, "NVO %p registered\n", nvo ); |