diff options
author | jiyong.min <jiyong.min@samsung.com> | 2018-12-07 13:06:15 +0900 |
---|---|---|
committer | jiyong.min <jiyong.min@samsung.com> | 2018-12-07 13:06:15 +0900 |
commit | 06ec6d10aba9295105d779a0fe04e4c115d182a1 (patch) | |
tree | 4b0a4c1ac2f2512ee347213742baa93a6b7bc5c0 | |
parent | a961856e55ac6df8f2a0e53140d8220e0af9a0d1 (diff) | |
download | libmedia-thumbnail-06ec6d10aba9295105d779a0fe04e4c115d182a1.tar.gz libmedia-thumbnail-06ec6d10aba9295105d779a0fe04e4c115d182a1.tar.bz2 libmedia-thumbnail-06ec6d10aba9295105d779a0fe04e4c115d182a1.zip |
Fix format error in logs
Change-Id: I1005ff291f438496a54a45a3cc2772c772650719
-rwxr-xr-x | src/ipc/media-thumb-ipc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipc/media-thumb-ipc.c b/src/ipc/media-thumb-ipc.c index c715182..a127b02 100755 --- a/src/ipc/media-thumb-ipc.c +++ b/src/ipc/media-thumb-ipc.c @@ -274,13 +274,13 @@ int _media_thumb_recv_msg(int sock, int header_size, thumbMsg *msg) SAFE_FREE(buf); if (strlen(msg->org_path) == 0 || strlen(msg->org_path) >= MAX_FILEPATH_LEN) { - thumb_err("org_path size is invalid %d", strlen(msg->org_path)); + thumb_err("org_path size is invalid %zu", strlen(msg->org_path)); return MS_MEDIA_ERR_SOCKET_RECEIVE; } /* it can be empty string */ if (strlen(msg->dst_path) >= MAX_FILEPATH_LEN) { - thumb_err("dst_path size is invalid %d", strlen(msg->dst_path)); + thumb_err("dst_path size is invalid %zu", strlen(msg->dst_path)); return MS_MEDIA_ERR_SOCKET_RECEIVE; } |