r8042: give better error message
authorStefan Metzmacher <metze@samba.org>
Fri, 1 Jul 2005 08:14:21 +0000 (08:14 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:19:02 +0000 (13:19 -0500)
metze
(This used to be commit 70118e9529aaf7af9129df7cb3a6749598b17568)

source4/lib/messaging/messaging.c

index 6209c365546a535fe14529c8694bf76481bfe9a2..7cf488c7d00779567bebcc489c41d7965b259a2c 100644 (file)
@@ -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;
        }