summaryrefslogtreecommitdiffstats
path: root/libvirt/libvirt_c_epilogue.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2008-01-19 14:03:15 +0000
committerRichard W.M. Jones <rjones@redhat.com>2008-01-19 14:03:15 +0000
commit8a8008134e997330d61e0b9736e9067b5689b531 (patch)
tree0ae876cb669c36a487d3ffc20d6a80d4873fbecd /libvirt/libvirt_c_epilogue.c
parent5f54fd1bd538422e500e4a026e73ec3b04abaf2b (diff)
downloadvirt-top-8a8008134e997330d61e0b9736e9067b5689b531.tar.gz
virt-top-8a8008134e997330d61e0b9736e9067b5689b531.tar.xz
virt-top-8a8008134e997330d61e0b9736e9067b5689b531.zip
Further work on storage API and autogenerating bindings.
Diffstat (limited to 'libvirt/libvirt_c_epilogue.c')
-rw-r--r--libvirt/libvirt_c_epilogue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvirt/libvirt_c_epilogue.c b/libvirt/libvirt_c_epilogue.c
index fff76f9..a18749d 100644
--- a/libvirt/libvirt_c_epilogue.c
+++ b/libvirt/libvirt_c_epilogue.c
@@ -111,8 +111,8 @@ not_supported (const char *fn)
* to convert it into VIR_*_UNKNOWN (code).
*/
-#define MAX_VIR_CODE 44 /* VIR_ERR_INVALID_MAC */
-#define MAX_VIR_DOMAIN 16 /* VIR_FROM_STATS_LINUX */
+#define MAX_VIR_CODE VIR_ERR_NO_STORAGE_VOL
+#define MAX_VIR_DOMAIN VIR_FROM_STORAGE
#define MAX_VIR_LEVEL VIR_ERR_ERROR
static inline value
@@ -323,7 +323,7 @@ Val_pol (virStoragePoolPtr pol)
#ifdef HAVE_VIRSTORAGEVOLPTR
static value
-Val_vol (virStorageVolPtr net)
+Val_vol (virStorageVolPtr vol)
{
CAMLparam0 ();
CAMLlocal1 (rv);