From: Ian Campbell <ian.campbell@citrix.com>
To: ian.jackson@eu.citrix.com, wei.liu2@citrix.com
Cc: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org
Subject: [PATCH 2/5] libxc: Correct log message in xc_map_foreign_bulk
Date: Tue, 7 Jul 2015 16:40:29 +0100 [thread overview]
Message-ID: <1436283632-6370-2-git-send-email-ian.campbell@citrix.com> (raw)
In-Reply-To: <1436283618.25646.253.camel@citrix.com>
Things are confusing enough as it is without using another function's
name here.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
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 e6613ef..011112b 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.1.4
next prev parent reply other threads:[~2015-07-07 15:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 15:40 [PATCH 0/5] tools: 3 misc fixes/cleanups Ian Campbell
2015-07-07 15:40 ` [PATCH 1/5] tools: libxc: fix "alocated" typo in comment Ian Campbell
2015-07-07 16:02 ` Ian Jackson
2015-07-07 15:40 ` Ian Campbell [this message]
2015-07-07 16:02 ` [PATCH 2/5] libxc: Correct log message in xc_map_foreign_bulk Ian Jackson
2015-07-07 15:40 ` [PATCH 3/5] tools: libxl: Log on more error paths on domain create failure Ian Campbell
2015-07-07 16:02 ` Ian Jackson
2015-07-07 15:40 ` [PATCH 4/5] tools: Link in-tree libvchan and libblktapctl users against lib....so Ian Campbell
2015-07-07 16:03 ` Ian Jackson
2015-07-07 15:40 ` [PATCH 5/5] tools: Do not add top-level tools dir to include path Ian Campbell
2015-07-07 16:03 ` Ian Jackson
2015-07-07 15:50 ` [PATCH 0/5] tools: 3 misc fixes/cleanups Wei Liu
2015-07-07 16:05 ` Ian Campbell
2015-07-08 12:44 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436283632-6370-2-git-send-email-ian.campbell@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).