mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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 <olaf@aepfle.de> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Committed-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
bf59aa3f21
commit
0498346863
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||