From b2a5592e220a30b573dd717844f3f18766c9658c Mon Sep 17 00:00:00 2001 From: jusung son Date: Fri, 7 Dec 2018 16:20:16 +0900 Subject: [PATCH] Fix dlog format Change-Id: I8c62a8c23b49aa03d6d590828c57094e1ce961bc Signed-off-by: jusung son --- src/message_port_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message_port_common.c b/src/message_port_common.c index ef8e3e2..dd922e9 100755 --- a/src/message_port_common.c +++ b/src/message_port_common.c @@ -145,7 +145,7 @@ int read_socket(int fd, while (left && (retry_cnt < MAX_RETRY_CNT)) { nb = read(fd, buffer, left); if (nb == 0) { - LOGE("read_socket: ...read EOF, socket closed %d: nb %d\n", fd, nb); + LOGE("read_socket: ...read EOF, socket closed %d: nb %zd\n", fd, nb); return MESSAGE_PORT_ERROR_IO_ERROR; } else if (nb == -1) { /* wrt(nodejs) could change socket to none-blocking socket :-( */ -- 2.7.4