diff options
Diffstat (limited to 'source3/lib/netapi/share.c')
-rw-r--r-- | source3/lib/netapi/share.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/netapi/share.c b/source3/lib/netapi/share.c index 1694a279c0f..3acd780b004 100644 --- a/source3/lib/netapi/share.c +++ b/source3/lib/netapi/share.c @@ -212,7 +212,7 @@ WERROR NetShareAdd_r(struct libnetapi_ctx *ctx, struct dcerpc_binding_handle *b; if (!r->in.buffer) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } switch (r->in.level) { @@ -280,7 +280,7 @@ WERROR NetShareDel_r(struct libnetapi_ctx *ctx, struct dcerpc_binding_handle *b; if (!r->in.net_name) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } werr = libnetapi_get_binding_handle(ctx, r->in.server_name, @@ -329,7 +329,7 @@ WERROR NetShareEnum_r(struct libnetapi_ctx *ctx, struct dcerpc_binding_handle *b; if (!r->out.buffer) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } switch (r->in.level) { @@ -436,7 +436,7 @@ WERROR NetShareGetInfo_r(struct libnetapi_ctx *ctx, struct dcerpc_binding_handle *b; if (!r->in.net_name || !r->out.buffer) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } switch (r->in.level) { @@ -509,7 +509,7 @@ WERROR NetShareSetInfo_r(struct libnetapi_ctx *ctx, struct dcerpc_binding_handle *b; if (!r->in.buffer) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } switch (r->in.level) { |