summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2010-07-13 18:07:19 -0400
committerCole Robinson <crobinso@redhat.com>2010-07-14 10:52:18 -0400
commita877c16bac6edfb306501843ca313e1e1aabc68d (patch)
treede582ad8a2fa6854c49d9248f80cf8b9ff3fd25d
parent8520a8bf894b02f354b060b0694dd64fdf6ee26d (diff)
downloadlibvirt-python-v6-a877c16bac6edfb306501843ca313e1e1aabc68d.tar.gz
libvirt-python-v6-a877c16bac6edfb306501843ca313e1e1aabc68d.tar.xz
libvirt-python-v6-a877c16bac6edfb306501843ca313e1e1aabc68d.zip
python: Fix IOErrorReasonCallback bindings
A copy and paste error was causing us to dispatch the incorrect routine. Spotted by Dan Kenigsberg.
-rw-r--r--libvirt-override.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override.c b/libvirt-override.c
index ad55940..54a84c2 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -3258,7 +3258,7 @@ libvirt_virConnectDomainEventIOErrorReasonCallback(virConnectPtr conn ATTRIBUTE_
/* Call the Callback Dispatcher */
pyobj_ret = PyObject_CallMethod(pyobj_conn,
- (char*)"dispatchDomainEventIOErrorCallback",
+ (char*)"dispatchDomainEventIOErrorReasonCallback",
(char*)"OssisO",
pyobj_dom,
srcPath, devAlias, action, reason,