diff --git a/src/util/processinfo.c b/src/util/processinfo.c index 5ae19f8ded563c51bbb38a871bce08b7d5e287fa..97ee779d47db04ba95fb6d04a0fd7c6c2472eab8 100644 --- a/src/util/processinfo.c +++ b/src/util/processinfo.c @@ -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; }