From: Keir Fraser Date: Wed, 31 Oct 2007 16:21:18 +0000 (+0000) Subject: xenperf: Fix typo in mlock() invocation. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14824^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ad2485afd057c0c0af69cc1b7c132e14ac8fba09;p=xen.git xenperf: Fix typo in mlock() invocation. Signed-off-by: Stephen Wilson --- 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));