From: Stefan Metzmacher Date: Tue, 19 Nov 2024 14:55:30 +0000 (+0100) Subject: pyrpc_util: fix error Exception message in py_check_dcerpc_type() X-Git-Tag: tdb-1.4.13~382 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=018a3ced1c75a800a61f2a2343ef4b8e2d3ef32b;p=thirdparty%2Fsamba.git pyrpc_util: fix error Exception message in py_check_dcerpc_type() Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- 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; }