summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 15:37:39 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 15:37:39 +0200
commitf9fb9436ae7a6556d3636f732889bae136a81390 (patch)
tree5b4020629846e5e3b26ea5f628509de121c6ed19 /source3/utils/net_rpc.c
parent44b728958ae9a48bb56591532e5db9867311c1b9 (diff)
downloadsamba-f9fb9436ae7a6556d3636f732889bae136a81390.tar.gz
samba-f9fb9436ae7a6556d3636f732889bae136a81390.tar.bz2
samba-f9fb9436ae7a6556d3636f732889bae136a81390.zip
Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTS
previously present in Samba 3.
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 94feeafa69..531bbfe43c 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -3126,7 +3126,7 @@ static NTSTATUS rpc_share_migrate_shares_internals(struct net_context *c,
&parm_error,
&result);
- if (W_ERROR_V(result) == W_ERROR_V(WERR_ALREADY_EXISTS)) {
+ if (W_ERROR_V(result) == W_ERROR_V(WERR_FILE_EXISTS)) {
printf(" [%s] does already exist\n",
info502.name);
continue;