aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom
diff options
context:
space:
mode:
Diffstat (limited to 'stubdom')
-rw-r--r--stubdom/grub/mini-os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubdom/grub/mini-os.c b/stubdom/grub/mini-os.c
index 251e2ad000..8cecf9013f 100644
--- a/stubdom/grub/mini-os.c
+++ b/stubdom/grub/mini-os.c
@@ -241,7 +241,7 @@ load_module (char *module, char *arg)
if ((void*) (multiboot_next_module_header+1) - module_image > PAGE_SIZE) {
/* Too many modules */
- ERR_WONT_FIT;
+ errnum = ERR_WONT_FIT;
return 0;
}