summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/util/pyerrors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/pyerrors.h b/source4/libcli/util/pyerrors.h
index 4c526c6ed2..e3e7bc4aac 100644
--- a/source4/libcli/util/pyerrors.h
+++ b/source4/libcli/util/pyerrors.h
@@ -38,7 +38,7 @@
return NULL; \
}
-#define PyErr_WERROR_IS_ERR_RAISE(status) \
+#define PyErr_WERROR_NOT_OK_RAISE(status) \
if (!W_ERROR_IS_OK(status)) { \
PyErr_SetWERROR(status); \
return NULL; \