summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/srv_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss.c b/source3/rpc_server/srv_spoolss.c
index 1f2534293a..24d4049ef8 100644
--- a/source3/rpc_server/srv_spoolss.c
+++ b/source3/rpc_server/srv_spoolss.c
@@ -35,7 +35,7 @@ static bool proxy_spoolss_call(pipes_struct *p, uint8_t opnum)
struct api_struct *fns;
int n_fns;
- spoolss2_get_pipe_fns(&fns, &n_fns);
+ spoolss_get_pipe_fns(&fns, &n_fns);
if (opnum >= n_fns) {
return false;