From 04983468634169adc45060d952d69ffde9a25dd1 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 11 Oct 2012 10:21:15 +0100 Subject: stubdom: fix error assignment in grub:load_module [ 1333s] mini-os.c: In function 'load_module': [ 1333s] mini-os.c:244: warning: statement with no effect Signed-off-by: Olaf Hering Acked-by: Samuel Thibault Committed-by: Ian Campbell --- stubdom/grub/mini-os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stubdom') 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; } -- cgit v1.2.3