mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user