Fix copy&paste typos in virProcessInfoGetAffinity

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jiri Denemark 2010-03-09 14:59:01 +01:00
parent 22e39d0ee4
commit 06b835607f

View File

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