mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/mm: Fix mem event error message typos
Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Acked-by: Tim Deegan <tim@xen.org> Committed-by: Tim Deegan <tim@xen.org>
This commit is contained in:
1 parent
762e791d8a
commit
dac9bb57ec
1 file changed
+3
-3
@@ -504,13 +504,13 @@ int mem_event_domctl(struct domain *d, xen_domctl_mem_event_op_t *mec,
|
||||
|
||||
if ( unlikely(d == current->domain) )
|
||||
{
|
||||
gdprintk(XENLOG_INFO, "Tried to do a memory paging op on itself.\n");
|
||||
gdprintk(XENLOG_INFO, "Tried to do a memory event op on itself.\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if ( unlikely(d->is_dying) )
|
||||
{
|
||||
gdprintk(XENLOG_INFO, "Ignoring memory paging op on dying domain %u\n",
|
||||
gdprintk(XENLOG_INFO, "Ignoring memory event op on dying domain %u\n",
|
||||
d->domain_id);
|
||||
return 0;
|
||||
}
|
||||
@@ -518,7 +518,7 @@ int mem_event_domctl(struct domain *d, xen_domctl_mem_event_op_t *mec,
|
||||
if ( unlikely(d->vcpu == NULL) || unlikely(d->vcpu[0] == NULL) )
|
||||
{
|
||||
gdprintk(XENLOG_INFO,
|
||||
"Memory paging op on a domain (%u) with no vcpus\n",
|
||||
"Memory event op on a domain (%u) with no vcpus\n",
|
||||
d->domain_id);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||