[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] stubdom: fix error assignment in grub:load_module
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1349947275 -3600 # Node ID d1c3b589af50cd3d2afb9c84d154f9a7659afb9c # Parent 3696dd6a7836079c8436719ea03541a8410051a7 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@xxxxxxxxx> Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r 3696dd6a7836 -r d1c3b589af50 stubdom/grub/mini-os.c --- a/stubdom/grub/mini-os.c Tue Oct 09 18:00:00 2012 +0100 +++ b/stubdom/grub/mini-os.c Thu Oct 11 10:21:15 2012 +0100 @@ -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; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |