[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.1-testing] xenperf: Fix typo in mlock() invocation.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1193847732 0
# Node ID 86e6b3f8d26e3d03e834636c79625637c145aeba
# Parent  3ce0fb37cf590c9fc185d701691203ebd4feb296
xenperf: Fix typo in mlock() invocation.
Signed-off-by: Stephen Wilson <stephen.wilson@xxxxxxx>
xen-unstable changeset:   16281:3191627e5ad6c0a1e8805a179f2906ae79a8b901
xen-unstable date:        Wed Oct 31 16:21:18 2007 +0000
---
 tools/misc/xenperf.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 3ce0fb37cf59 -r 86e6b3f8d26e tools/misc/xenperf.c
--- a/tools/misc/xenperf.c      Tue Oct 30 16:20:20 2007 +0000
+++ b/tools/misc/xenperf.c      Wed Oct 31 16:22:12 2007 +0000
@@ -161,7 +161,7 @@ int main(int argc, char *argv[])
     if ( pcd == NULL
          || lock_pages(pcd, sizeof(*pcd) * num_desc) != 0
          || pcv == NULL
-         || lock_pages(pcd, sizeof(*pcv) * num_val) != 0)
+         || lock_pages(pcv, sizeof(*pcv) * num_val) != 0)
     {
         fprintf(stderr, "Could not alloc or lock buffers: %d (%s)\n",
                 errno, strerror(errno));

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.