From: Ewan Mellor Date: Wed, 23 Aug 2006 22:12:56 +0000 (+0100) Subject: This small patch adds back a closing paranthesis that has gone lost. It X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15681^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=eac2c2e399f9cb28573c4346f9e849bf56fdc402;p=xen.git This small patch adds back a closing paranthesis that has gone lost. It fixes the build for the Xen access control module. Signed-off by: Reiner Sailer --- diff --git a/xen/acm/acm_simple_type_enforcement_hooks.c b/xen/acm/acm_simple_type_enforcement_hooks.c index dd732e7793..0f8c8c3818 100644 --- a/xen/acm/acm_simple_type_enforcement_hooks.c +++ b/xen/acm/acm_simple_type_enforcement_hooks.c @@ -353,7 +353,7 @@ ste_dump_stats(u8 *buf, u16 buf_len) stats.ec_cachehit_count = htonl(atomic_read(&ste_bin_pol.ec_cachehit_count)); stats.gt_cachehit_count = htonl(atomic_read(&ste_bin_pol.gt_cachehit_count)); - if (buf_len < sizeof(struct acm_ste_stats_buffer) + if (buf_len < sizeof(struct acm_ste_stats_buffer)) return -ENOMEM; memcpy(buf, &stats, sizeof(struct acm_ste_stats_buffer));