mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/libs/call: Update some log messages to not refer to xc.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
18d46064c3
commit
9eb88fad0d
1 file changed
+2
-2
@@ -94,7 +94,7 @@ void *osdep_alloc_pages(xencall_handle *xcall, size_t npages)
|
||||
p = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_LOCKED, -1, 0);
|
||||
if ( p == MAP_FAILED )
|
||||
{
|
||||
PERROR("xc_alloc_hypercall_buffer: mmap failed");
|
||||
PERROR("alloc_pages: mmap failed");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ void *osdep_alloc_pages(xencall_handle *xcall, size_t npages)
|
||||
rc = madvise(p, npages * PAGE_SIZE, MADV_DONTFORK);
|
||||
if ( rc < 0 )
|
||||
{
|
||||
PERROR("xc_alloc_hypercall_buffer: madvise failed");
|
||||
PERROR("alloc_pages: madvise failed");
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
||||