summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/clioplock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/raw/clioplock.c')
-rw-r--r--source4/libcli/raw/clioplock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/clioplock.c b/source4/libcli/raw/clioplock.c
index 47ffb6dd31..42ac6b517b 100644
--- a/source4/libcli/raw/clioplock.c
+++ b/source4/libcli/raw/clioplock.c
@@ -55,8 +55,8 @@ set the oplock handler for a connection
****************************************************************************/
_PUBLIC_ void smbcli_oplock_handler(struct smbcli_transport *transport,
bool (*handler)(struct smbcli_transport *, uint16_t, uint16_t, uint8_t, void *),
- void *private)
+ void *private_data)
{
transport->oplock.handler = handler;
- transport->oplock.private = private;
+ transport->oplock.private_data = private_data;
}