Fix build error 63/265763/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 28 Oct 2021 06:29:40 +0000 (15:29 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 28 Oct 2021 06:29:40 +0000 (15:29 +0900)
- Fixes wrong log format

Change-Id: Ie939e7f33f9975eb219d573cf8966c42659b69d6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
parser/exec-checker/src/exec_checker.cc

index 7bb3de2..a20ec27 100644 (file)
@@ -68,7 +68,7 @@ int Read(FILE* fp, void* ptr, long offset, size_t size) {
 
   auto nbytes = fread(ptr, 1, size, fp);
   if (nbytes <= 0) {
-    LOGE_STD("fread() is failed. error(%d)", nbytes);
+    LOGE_STD("fread() is failed. error(%zd)", nbytes);
     return -1;
   }