summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_printers.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_spoolss_printers.c')
-rw-r--r--source3/python/py_spoolss_printers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_spoolss_printers.c b/source3/python/py_spoolss_printers.c
index decc52e080..69b2733cfb 100644
--- a/source3/python/py_spoolss_printers.c
+++ b/source3/python/py_spoolss_printers.c
@@ -75,7 +75,7 @@ PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw)
goto done;
}
- result = new_policy_hnd_object(cli, mem_ctx, &hnd);
+ result = new_spoolss_policy_hnd_object(cli, mem_ctx, &hnd);
done:
SAFE_FREE(computer_name);