summaryrefslogtreecommitdiff
path: root/source4/torture/nbench
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 08:44:44 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:08:38 +0100
commitab7f003aad6d16103c72ec3330836340e83a230a (patch)
tree0bb9fdeb259e4fb2a8c0b9f3c0c033a0799cc0f1 /source4/torture/nbench
parent35f7cee25db3f4a3db9bfa6d7a12f1d9d6698ca0 (diff)
downloadsamba-ab7f003aad6d16103c72ec3330836340e83a230a.tar.gz
samba-ab7f003aad6d16103c72ec3330836340e83a230a.tar.bz2
samba-ab7f003aad6d16103c72ec3330836340e83a230a.zip
s4:torture: s/private/private_data
metze
Diffstat (limited to 'source4/torture/nbench')
-rw-r--r--source4/torture/nbench/nbio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c
index be09018acf..fa5fe5d2d6 100644
--- a/source4/torture/nbench/nbio.c
+++ b/source4/torture/nbench/nbio.c
@@ -384,9 +384,9 @@ static struct smbcli_state *c;
a handler function for oplock break requests
*/
static bool oplock_handler(struct smbcli_transport *transport, uint16_t tid,
- uint16_t fnum, uint8_t level, void *private)
+ uint16_t fnum, uint8_t level, void *private_data)
{
- struct smbcli_tree *tree = (struct smbcli_tree *)private;
+ struct smbcli_tree *tree = (struct smbcli_tree *)private_data;
return smbcli_oplock_ack(tree, fnum, OPLOCK_BREAK_TO_NONE);
}
@@ -906,7 +906,7 @@ bool nb_qfsinfo(int level, NTSTATUS status)
}
/* callback function used for trans2 search */
-static bool findfirst_callback(void *private, const union smb_search_data *file)
+static bool findfirst_callback(void *private_data, const union smb_search_data *file)
{
return true;
}