mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
Fix copy&paste typos in virProcessInfoGetAffinity
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
22e39d0ee4
commit
06b835607f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user