diff options
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 2 | ||||
-rw-r--r-- | source3/client/smbspool.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index b355917013..074fbc93bc 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -412,7 +412,7 @@ NTSTATUS smbclient_cli_open(struct cli_state *cli, const char *fname, int flags, try_openx: - return cli_open(cli, fname, flags, share_mode_in, pfnum); + return cli_openx(cli, fname, flags, share_mode_in, pfnum); } /**************************************************************************** diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index ddae1a6785..71bdab1719 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -576,7 +576,7 @@ smb_print(struct cli_state * cli, /* I - SMB connection */ * Open the printer device... */ - nt_status = cli_open(cli, title, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE, + nt_status = cli_openx(cli, title, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE, &fnum); if (!NT_STATUS_IS_OK(nt_status)) { fprintf(stderr, "ERROR: %s opening remote spool %s\n", |