]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix argument type of virProcessInfoSetAffinity dummy function
authorMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 22 Dec 2009 01:03:20 +0000 (02:03 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 22 Dec 2009 12:04:50 +0000 (13:04 +0100)
src/util/processinfo.c

index a0dac347f0fb6768a22195b20939e7324d951430..397848ec3523455043333d86c8482894f7132168 100644 (file)
@@ -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)
 {