summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_service.c b/source3/utils/net_rpc_service.c
index 3186b8c779..51d7bfbb23 100644
--- a/source3/utils/net_rpc_service.c
+++ b/source3/utils/net_rpc_service.c
@@ -225,7 +225,7 @@ static NTSTATUS rpc_service_list_internal(struct net_context *c,
}
result = rpccli_svcctl_enumerate_services(pipe_hnd, mem_ctx, &hSCM, SERVICE_TYPE_WIN32,
- SVCCTL_STATE_ALL, &num_services, &services );
+ SERVICE_STATE_ALL, &num_services, &services );
if ( !W_ERROR_IS_OK(result) ) {
d_fprintf(stderr, "Failed to enumerate services. [%s]\n", win_errstr(result));