|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [BUGFIX][ACM] fix build break by adding missing paranthe
On Wed, Aug 23, 2006 at 06:06:12PM -0400, Reiner Sailer wrote:
> 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 <sailer@xxxxxxxxxx>
>
> Index: xen-unstable.hg-shype/xen/acm/acm_simple_type_enforcement_hooks.c
> ===================================================================
> --- xen-unstable.hg-shype.orig/xen/acm/acm_simple_type_enforcement_hooks.c
> +++ xen-unstable.hg-shype/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));
Applied, thanks.
Ewan.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|