[libvirt] [PATCH] Fix argument type of virProcessInfoSetAffinity dummy function

Daniel P. Berrange berrange at redhat.com
Tue Dec 22 10:22:48 UTC 2009


On Tue, Dec 22, 2009 at 02:15:45AM +0100, Matthias Bolte wrote:
> ---
>  src/util/processinfo.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/util/processinfo.c b/src/util/processinfo.c
> index a0dac34..397848e 100644
> --- a/src/util/processinfo.c
> +++ b/src/util/processinfo.c
> @@ -164,7 +164,7 @@ realloc:
>  #else /* HAVE_SCHED_GETAFFINITY */
>  
>  int virProcessInfoSetAffinity(pid_t pid ATTRIBUTE_UNUSED,
> -                              unsigned char *map ATTRIBUTE_UNUSED,
> +                              const unsigned char *map ATTRIBUTE_UNUSED,
>                                size_t maplen ATTRIBUTE_UNUSED,
>                                int maxcpu ATTRIBUTE_UNUSED)
>  {

ACK

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list