summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Nelson <sam.nelson@ti.com>2018-07-30 16:34:35 -0400
committerSam Nelson <sam.nelson@ti.com>2018-08-09 16:01:32 -0400
commit7015070617312687e4bd2dd63ec8a0c13f823b04 (patch)
tree0e6033916d46e39c634875d592c11625eca341d5
parent552c16403f7e04ca1637f2a7264fb998e6e27c56 (diff)
downloadipc-7015070617312687e4bd2dd63ec8a0c13f823b04.tar.gz
daemon: Update debug print with more clear information
Helps to debug if the AF_RPMSG is not the expected value Signed-off-by: Sam Nelson <sam.nelson@ti.com>
-rw-r--r--linux/src/daemon/NameServer_daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/src/daemon/NameServer_daemon.c b/linux/src/daemon/NameServer_daemon.c
index 882905c..90d8cd1 100644
--- a/linux/src/daemon/NameServer_daemon.c
+++ b/linux/src/daemon/NameServer_daemon.c
@@ -1425,8 +1425,8 @@ Int NameServer_attach(UInt16 procId)
sock = socket(AF_RPMSG, SOCK_SEQPACKET, 0);
if (sock < 0) {
status = NameServer_E_FAIL;
- LOG2("NameServer_attach: socket failed: %d, %s\n", errno,
- strerror(errno));
+ LOG3("NameServer_attach: socket failed: Domain %d, Error no %d, Error string:%s\n",
+ AF_RPMSG, errno, strerror(errno));
goto done;
}
NameServer_module->comm[clId].sendSock = sock;