From 018a3ced1c75a800a61f2a2343ef4b8e2d3ef32b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 19 Nov 2024 15:55:30 +0100 Subject: [PATCH] pyrpc_util: fix error Exception message in py_check_dcerpc_type() Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- source4/librpc/rpc/pyrpc_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/librpc/rpc/pyrpc_util.c b/source4/librpc/rpc/pyrpc_util.c index 2c7f4a7be71..b6eb8fc2200 100644 --- a/source4/librpc/rpc/pyrpc_util.c +++ b/source4/librpc/rpc/pyrpc_util.c @@ -53,7 +53,7 @@ bool py_check_dcerpc_type(PyObject *obj, const char *module, const char *type_na Py_DECREF(mod); if (type == NULL) { PyErr_Format(PyExc_RuntimeError, "Unable to find type %s in module %s", - module, type_name); + type_name, module); return false; } -- 2.47.3