I will change lib to libs in subject line while committing

On Mon, Sep 26, 2016 at 06:44:08PM +0200, Roger Pau Monne wrote:
> Fix the definition of the xengnttab_grant_copy function so it's inline with

in line with

> the prototypes in xengnttab.h.
> 
> This unbreaks the tools build on systems that don't have a gnttab device.
> 
> Signed-off-by: Roger Pau Monné <roger....@citrix.com>
> Cc: Ian Jackson <ian.jack...@eu.citrix.com>
> Cc: Wei Liu <wei.l...@citrix.com>

Acked-by: Wei Liu <wei.l...@citrix.com>

> ---
>  tools/libs/gnttab/gnttab_unimp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/libs/gnttab/gnttab_unimp.c 
> b/tools/libs/gnttab/gnttab_unimp.c
> index 829eced..26e4ee1 100644
> --- a/tools/libs/gnttab/gnttab_unimp.c
> +++ b/tools/libs/gnttab/gnttab_unimp.c
> @@ -78,9 +78,9 @@ int xengnttab_unmap(xengnttab_handle *xgt, void 
> *start_address, uint32_t count)
>      abort();
>  }
>  
> -int xengnttab_copy_grant(xengnttab_handle *xgt,
> +int xengnttab_grant_copy(xengnttab_handle *xgt,
>                           uint32_t count,
> -                         xengnttab_copy_grant_segment_t *segs)
> +                         xengnttab_grant_copy_segment_t *segs)
>  {
>      abort();
>  }
> -- 
> 2.7.4 (Apple Git-66)
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to