[cleanup] fix printf format for size_t 27/218627/1 accepted/tizen/unified/20191128.162012 submit/tizen/20191126.094154
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 26 Nov 2019 06:44:11 +0000 (15:44 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Tue, 26 Nov 2019 06:44:11 +0000 (15:44 +0900)
Change-Id: I308f1bc1140f213fd54d7fc4f3bfabf8d3ca83a1
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
src/storage/cleanup.c

index af6e0ec..55b61bf 100644 (file)
@@ -141,7 +141,7 @@ static int cleanup_recursive(const char *path, GList *except)
                        }
 
                        if (PATH_MAX <= (strlen(path) + strlen(dent->d_name) + 1)) {
-                               _E("File path sould be shorter than %d. But %d.", PATH_MAX, strlen(path) + strlen(dent->d_name) + 1);
+                               _E("File path sould be shorter than %d. But %zu.", PATH_MAX, strlen(path) + strlen(dent->d_name) + 1);
                                continue;
                        }