diff options
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srvsvc/srv_srvsvc_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c index 3d4ee22ea1..22737e858c 100644 --- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c +++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c @@ -106,7 +106,7 @@ static void enum_file_fn( const struct share_mode_entry *e, fsp.file_id = e->id; if ( (brl = brl_get_locks(talloc_tos(), &fsp)) != NULL ) { - num_locks = brl->num_locks; + num_locks = brl_num_locks(brl); TALLOC_FREE(brl); } |