ia64/xen-unstable
changeset 16293:3191627e5ad6
xenperf: Fix typo in mlock() invocation.
Signed-off-by: Stephen Wilson <stephen.wilson@amd.com>
Signed-off-by: Stephen Wilson <stephen.wilson@amd.com>
author | Keir Fraser <keir@xensource.com> |
---|---|
date | Wed Oct 31 16:21:18 2007 +0000 (2007-10-31) |
parents | e2d76fb12ae2 |
children | 931e4b987257 |
files | tools/misc/xenperf.c |
line diff
1.1 --- a/tools/misc/xenperf.c Wed Oct 31 15:57:03 2007 +0000 1.2 +++ b/tools/misc/xenperf.c Wed Oct 31 16:21:18 2007 +0000 1.3 @@ -161,7 +161,7 @@ int main(int argc, char *argv[]) 1.4 if ( pcd == NULL 1.5 || lock_pages(pcd, sizeof(*pcd) * num_desc) != 0 1.6 || pcv == NULL 1.7 - || lock_pages(pcd, sizeof(*pcv) * num_val) != 0) 1.8 + || lock_pages(pcv, sizeof(*pcv) * num_val) != 0) 1.9 { 1.10 fprintf(stderr, "Could not alloc or lock buffers: %d (%s)\n", 1.11 errno, strerror(errno));