diff options
author | Keir Fraser <keir@xensource.com> | 2007-10-31 16:21:18 +0000 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-10-31 16:21:18 +0000 |
commit | ad2485afd057c0c0af69cc1b7c132e14ac8fba09 (patch) | |
tree | 257111587a1c8f55e763d805428b48c8d273a997 | |
parent | ae0d32c5275c4181b3bff37bbc6ca76e6bb4f7df (diff) | |
download | xen-ad2485afd057c0c0af69cc1b7c132e14ac8fba09.tar.gz xen-ad2485afd057c0c0af69cc1b7c132e14ac8fba09.tar.bz2 xen-ad2485afd057c0c0af69cc1b7c132e14ac8fba09.zip |
xenperf: Fix typo in mlock() invocation.
Signed-off-by: Stephen Wilson <stephen.wilson@amd.com>
-rw-r--r-- | tools/misc/xenperf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/xenperf.c b/tools/misc/xenperf.c index 06a495181d..afa635a034 100644 --- a/tools/misc/xenperf.c +++ b/tools/misc/xenperf.c @@ -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)); |