From 06b835607f8544c11757f5e7022b15d5217a524f Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 9 Mar 2010 14:59:01 +0100 Subject: [PATCH] Fix copy&paste typos in virProcessInfoGetAffinity Signed-off-by: Jiri Denemark --- src/util/processinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/processinfo.c b/src/util/processinfo.c index 5ae19f8ded..97ee779d47 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; } -- GitLab