# HG changeset patch # User Andres Lagar-Cavilla # Date 1322149491 0 # Node ID 67d2ac426defedad9c10eb339019f9dc9f02d2ae # Parent 3c864e04c2ad060ca1cac6579994777993fef6e6 Trivial fix for rc val in hap track dirty vram Signed-off-by: Andres Lagar-Cavilla Committed-by: Keir Fraser --- a/xen/arch/x86/mm/hap/hap.c +++ b/xen/arch/x86/mm/hap/hap.c @@ -143,7 +143,7 @@ int hap_track_dirty_vram(struct domain * } 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;