]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Fix copy&paste typos in virProcessInfoGetAffinity
authorJiri Denemark <jdenemar@redhat.com>
Tue, 9 Mar 2010 13:59:01 +0000 (14:59 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 9 Mar 2010 16:31:15 +0000 (17:31 +0100)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/util/processinfo.c

index 5ae19f8ded563c51bbb38a871bce08b7d5e287fa..97ee779d47db04ba95fb6d04a0fd7c6c2472eab8 100644 (file)
@@ -135,7 +135,7 @@ realloc:
             goto realloc;
         }
         virReportSystemError(errno,
-                             _("cannot set CPU affinity on process %d"), pid);
+                             _("cannot get CPU affinity of process %d"), pid);
         return -1;
     }
 
@@ -149,7 +149,7 @@ realloc:
     CPU_ZERO(&mask);
     if (sched_getaffinity(pid, sizeof(mask), &mask) < 0) {
         virReportSystemError(errno,
-                             _("cannot set CPU affinity on process %d"), pid);
+                             _("cannot get CPU affinity of process %d"), pid);
         return -1;
     }