summaryrefslogtreecommitdiff
path: root/source3/services
diff options
context:
space:
mode:
Diffstat (limited to 'source3/services')
-rw-r--r--source3/services/svc_wins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/services/svc_wins.c b/source3/services/svc_wins.c
index f1e94c5b7e..c8d72bc7c0 100644
--- a/source3/services/svc_wins.c
+++ b/source3/services/svc_wins.c
@@ -32,7 +32,7 @@ static WERROR wins_status( const char *service, struct SERVICE_STATUS *service_s
service_status->type = SERVICE_TYPE_WIN32_OWN_PROCESS;
service_status->controls_accepted = SVCCTL_ACCEPT_NONE;
- if ( lp_wins_support() )
+ if ( lp_we_are_a_wins_server() )
service_status->state = SVCCTL_RUNNING;
else {
service_status->state = SVCCTL_STOPPED;