summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-07-01 08:14:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:02 -0500
commit4a8c3a9e623e40a3fd927c4ed5fa3a8fa41f3012 (patch)
treea1a2fb9597d9ff3a420a0210190841762105b787
parent978335ae94ef00bc7f2242cb06dcf23a803245c7 (diff)
downloadsamba-4a8c3a9e623e40a3fd927c4ed5fa3a8fa41f3012.tar.gz
samba-4a8c3a9e623e40a3fd927c4ed5fa3a8fa41f3012.tar.bz2
samba-4a8c3a9e623e40a3fd927c4ed5fa3a8fa41f3012.zip
r8042: give better error message
metze (This used to be commit 70118e9529aaf7af9129df7cb3a6749598b17568)
-rw-r--r--source4/lib/messaging/messaging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c
index 6209c36554..7cf488c7d0 100644
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -393,7 +393,7 @@ struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx, uint32_t server_id
status = socket_listen(msg->sock, msg->path, 0, 50, 0);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0,("Unable to setup messaging listener for '%s'\n", msg->path));
+ DEBUG(0,("Unable to setup messaging listener for '%s':%s\n", msg->path, nt_errstr(status)));
talloc_free(msg);
return NULL;
}