From 2545f08bd5fe55ee2da0d0fc076a376b530413d3 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 7 Jul 2015 16:40:29 +0100 Subject: [PATCH] libxc: Correct log message in xc_map_foreign_bulk Things are confusing enough as it is without using another function's name here. Signed-off-by: Ian Campbell Acked-by: Wei Liu Acked-by: Ian Jackson --- tools/libxc/xc_freebsd_osdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxc/xc_freebsd_osdep.c b/tools/libxc/xc_freebsd_osdep.c index e6613ef00a..011112b0a8 100644 --- a/tools/libxc/xc_freebsd_osdep.c +++ b/tools/libxc/xc_freebsd_osdep.c @@ -160,7 +160,7 @@ static void *freebsd_privcmd_map_foreign_bulk(xc_interface *xch, addr = mmap(NULL, num << XC_PAGE_SHIFT, prot, MAP_SHARED, fd, 0); if ( addr == MAP_FAILED ) { - PERROR("xc_map_foreign_batch: mmap failed"); + PERROR("xc_map_foreign_bulk: mmap failed"); return NULL; } @@ -174,7 +174,7 @@ static void *freebsd_privcmd_map_foreign_bulk(xc_interface *xch, if ( rc < 0 ) { int saved_errno = errno; - PERROR("xc_map_foreign_batch: ioctl failed"); + PERROR("xc_map_foreign_bulk: ioctl failed"); (void)munmap(addr, num << XC_PAGE_SHIFT); errno = saved_errno; return NULL; -- 2.30.2