summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index 1cfdccfd1d..bb5d6b234a 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -254,7 +254,7 @@ WERROR libnetapi_open_pipe(struct libnetapi_ctx *ctx,
status = pipe_cm_open(ctx, ipc, table, &result);
if (!NT_STATUS_IS_OK(status)) {
libnetapi_set_error_string(ctx, "failed to open PIPE %s: %s",
- get_pipe_name_from_syntax(talloc_tos(), &table->syntax_id),
+ table->name,
get_friendly_nt_error_msg(status));
return WERR_DEST_NOT_FOUND;
}