diff options
Diffstat (limited to 'hscript/script_i.hh')
-rw-r--r-- | hscript/script_i.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/script_i.hh b/hscript/script_i.hh index b82b807..12ec133 100644 --- a/hscript/script_i.hh +++ b/hscript/script_i.hh @@ -300,7 +300,7 @@ struct Script::ScriptPrivate { bool store_bootloader(Key *obj, const ScriptLocation &pos, int *errors, int *, const ScriptOptions &) { if(boot) { - DUPLICATE_ERROR(boot, "bootloader", boot->value()) + DUPLICATE_ERROR(boot, "bootloader", boot->bootloader()) return false; } std::unique_ptr<Bootloader> b(dynamic_cast<Bootloader *>(obj)); |