# HG changeset patch
# User Wei Gang <gang.wei@xxxxxxxxx>
# Date 1292004967 0
# Node ID 58f085f3df4aa32c5eb6ba2e1d6252727f49953f
# Parent 8b3eb0e457337db9a9b1d89daf90265205f59644
tools/ocaml: fix a typo in xc_lib.c:xc_domain_set_vpt_align
Fix a typo in xc_lib.c.
Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/ocaml/libs/xc/xc_lib.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 8b3eb0e45733 -r 58f085f3df4a tools/ocaml/libs/xc/xc_lib.c
--- a/tools/ocaml/libs/xc/xc_lib.c Fri Dec 10 18:13:15 2010 +0000
+++ b/tools/ocaml/libs/xc/xc_lib.c Fri Dec 10 18:16:07 2010 +0000
@@ -1522,7 +1522,7 @@ int xc_domain_set_hpet(int handle, unsig
int xc_domain_set_vpt_align(int handle, unsigned int domid, int vpt_align)
{
- return xc_set_hvm_param(handle, domid, HVM_PARAM_HPET_ENABLED,
(unsigned long) vpt_align);
+ return xc_set_hvm_param(handle, domid, HVM_PARAM_VPT_ALIGN, (unsigned
long) vpt_align);
}
int xc_domain_get_acpi_s_state(int handle, unsigned int domid)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|