summaryrefslogtreecommitdiff
path: root/src/inet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inet.c')
-rwxr-xr-xsrc/inet.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/inet.c b/src/inet.c
index 45408cec..c65ebb3c 100755
--- a/src/inet.c
+++ b/src/inet.c
@@ -1468,6 +1468,9 @@ static int ndisc_send_unspec(int type, int oif, const struct in6_addr *dest,
char cbuf[CMSG_SPACE(sizeof(*pinfo))];
struct iovec iov[2];
int fd, datalen, ret, iovlen = 1;
+#if defined TIZEN_EXT
+ char ebuf[256];
+#endif
DBG("");
@@ -1547,7 +1550,7 @@ static int ndisc_send_unspec(int type, int oif, const struct in6_addr *dest,
ret = sendmsg(fd, &msgh, 0);
#if defined TIZEN_EXT
- DBG("sendmsg errno: %d/%s", errno, strerror(errno));
+ DBG("sendmsg errno: %d/%s", errno, strerror_r(errno, ebuf, sizeof(ebuf)));
#endif
close(fd);