diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2008-12-18 12:25:11 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2008-12-18 12:25:11 +0000 |
commit | 92583135c8a6576176511c92154a8806873a0beb (patch) | |
tree | 4deb01be77bd11cc196008e39da11fdda87ffbb7 | |
parent | 7ffd1965695d15a3b3819ccd67bb20c0c0ef4e30 (diff) | |
download | libvirt-python-v6-92583135c8a6576176511c92154a8806873a0beb.tar.gz libvirt-python-v6-92583135c8a6576176511c92154a8806873a0beb.tar.xz libvirt-python-v6-92583135c8a6576176511c92154a8806873a0beb.zip |
Replace __FUNCTION__ with __func__ for better portability (John Levon)
-rw-r--r-- | types.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -185,7 +185,7 @@ libvirt_virEventHandleCallbackWrap(virEventHandleCallback node) if (node == NULL) { Py_INCREF(Py_None); - printf("%s: WARNING - Wrapping None\n", __FUNCTION__); + printf("%s: WARNING - Wrapping None\n", __func__); return (Py_None); } ret = @@ -200,7 +200,7 @@ libvirt_virEventTimeoutCallbackWrap(virEventTimeoutCallback node) PyObject *ret; if (node == NULL) { - printf("%s: WARNING - Wrapping None\n", __FUNCTION__); + printf("%s: WARNING - Wrapping None\n", __func__); Py_INCREF(Py_None); return (Py_None); } |