summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 8004ced43e..f6d6de0a74 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -150,8 +150,7 @@ NTSTATUS connect_to_ipc(struct cli_state **c, struct in_addr *server_ip,
if (NT_STATUS_IS_OK(nt_status)) {
return nt_status;
} else {
- DEBUG(1,("Cannot connect to server. Error was %s\n",
- nt_errstr(nt_status)));
+ d_printf("Could not connect to server %s\n", server_name);
/* Display a nicer message depending on the result */