From: Andres Lagar-Cavilla Date: Thu, 24 Nov 2011 15:44:51 +0000 (+0000) Subject: Trivial fix for rc val in hap track dirty vram X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8900056b8418563e76a38d73cbb905db8a709863;p=xen.git Trivial fix for rc val in hap track dirty vram Signed-off-by: Andres Lagar-Cavilla Committed-by: Keir Fraser --- diff --git a/xen/arch/x86/mm/hap/hap.c b/xen/arch/x86/mm/hap/hap.c index 008d151876..5ab7c5a595 100644 --- a/xen/arch/x86/mm/hap/hap.c +++ b/xen/arch/x86/mm/hap/hap.c @@ -141,7 +141,7 @@ int hap_track_dirty_vram(struct domain *d, } else if ( !paging_mode_log_dirty(d) && !dirty_vram ) { - rc -ENOMEM; + rc = -ENOMEM; if ( (dirty_vram = xmalloc(struct sh_dirty_vram)) == NULL ) goto param_fail;