diff options
Diffstat (limited to 'source4/client/cifsdd.c')
-rw-r--r-- | source4/client/cifsdd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c index 6c3edeb892..aa63edcd7a 100644 --- a/source4/client/cifsdd.c +++ b/source4/client/cifsdd.c @@ -398,7 +398,7 @@ static void set_max_xmit(struct loadparm_context *lp_ctx, uint64_t iomax) lp_set_cmdline(lp_ctx, "max xmit", buf); } -static int copy_files(void) +static int copy_files(struct loadparm_context *lp_ctx) { uint8_t * iobuf; /* IO buffer. */ uint64_t iomax; /* Size of the IO buffer. */ @@ -595,7 +595,7 @@ int main(int argc, const char ** argv) CatchSignal(SIGINT, dd_handle_signal); CatchSignal(SIGUSR1, dd_handle_signal); - return(copy_files()); + return(copy_files(global_loadparm)); } /* vim: set sw=8 sts=8 ts=8 tw=79 : */ |