diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 08:33:46 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:08:33 +0100 |
commit | 7ee87c339bc328f89d08afc0e5c9e095ceb1f746 (patch) | |
tree | cde4a15646398ffbd179101b510e295f77f4c86f /source4/ntvfs | |
parent | 8a95f4d2d6dc4ad3e0434c6f5e53b87ff3fdecb1 (diff) | |
download | samba-7ee87c339bc328f89d08afc0e5c9e095ceb1f746.tar.gz samba-7ee87c339bc328f89d08afc0e5c9e095ceb1f746.tar.bz2 samba-7ee87c339bc328f89d08afc0e5c9e095ceb1f746.zip |
s4:ntvfs/nbench: s/private/nprivates
metze
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/nbench/vfs_nbench.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c index 987227a0b7..7ba2e7c649 100644 --- a/source4/ntvfs/nbench/vfs_nbench.c +++ b/source4/ntvfs/nbench/vfs_nbench.c @@ -41,7 +41,7 @@ static void nbench_log(struct ntvfs_request *req, static void nbench_log(struct ntvfs_request *req, const char *format, ...) { - struct nbench_private *private = req->async_states->ntvfs->private_data; + struct nbench_private *nprivates = req->async_states->ntvfs->private_data; va_list ap; char *s = NULL; @@ -49,7 +49,7 @@ static void nbench_log(struct ntvfs_request *req, vasprintf(&s, format, ap); va_end(ap); - write(private->log_fd, s, strlen(s)); + write(nprivates->log_fd, s, strlen(s)); free(s); } @@ -671,11 +671,11 @@ static void nbench_async_setup_send(struct ntvfs_request *req) */ static NTSTATUS nbench_async_setup(struct ntvfs_module_context *ntvfs, struct ntvfs_request *req, - void *private) + void *private_data) { NTSTATUS status; - PASS_THRU_REQ(ntvfs, req, async_setup, NULL, (ntvfs, req, private)); + PASS_THRU_REQ(ntvfs, req, async_setup, NULL, (ntvfs, req, private_data)); return status; } |