git.annexia.org
/
virt-top.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf1b805
)
Don't hard-code Storage API errors, in case building with older libvirt.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 19 Jan 2008 17:41:51 +0000
(17:41 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 19 Jan 2008 17:41:51 +0000
(17:41 +0000)
libvirt/libvirt_c_epilogue.c
patch
|
blob
|
history
diff --git
a/libvirt/libvirt_c_epilogue.c
b/libvirt/libvirt_c_epilogue.c
index
a43d8e2
..
78bd23e
100644
(file)
--- 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
VIR_ERR_NO_STORAGE_VOL
-#define MAX_VIR_DOMAIN
VIR_FROM_STORAGE
+#define MAX_VIR_CODE
50 /* VIR_ERR_NO_STORAGE_VOL */
+#define MAX_VIR_DOMAIN
17 /* VIR_FROM_STORAGE */
#define MAX_VIR_LEVEL VIR_ERR_ERROR
static inline value