From: Olaf Hering Date: Thu, 11 Oct 2012 09:21:15 +0000 (+0100) Subject: stubdom: fix error assignment in grub:load_module X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7761 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=04983468634169adc45060d952d69ffde9a25dd1;p=xen.git 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 --- 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; }