projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae0d32c
)
xenperf: Fix typo in mlock() invocation.
author
Keir Fraser
<keir@xensource.com>
Wed, 31 Oct 2007 16:21:18 +0000
(16:21 +0000)
committer
Keir Fraser
<keir@xensource.com>
Wed, 31 Oct 2007 16:21:18 +0000
(16:21 +0000)
Signed-off-by: Stephen Wilson <stephen.wilson@amd.com>
tools/misc/xenperf.c
patch
|
blob
|
history
diff --git
a/tools/misc/xenperf.c
b/tools/misc/xenperf.c
index 06a495181d2c0233c1f3f3a5d3bce8b0e8bda2ef..afa635a034000437591842e76f8c60c2e670e32c 100644
(file)
--- 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(pc
d
, sizeof(*pcv) * num_val) != 0)
+ || lock_pages(pc
v
, sizeof(*pcv) * num_val) != 0)
{
fprintf(stderr, "Could not alloc or lock buffers: %d (%s)\n",
errno, strerror(errno));