[cleanup] fix printf format for size_t 41/218641/1 tizen_5.5_tv accepted/tizen/5.5/unified/20191203.011339 submit/tizen_5.5/20191126.094437
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 26 Nov 2019 06:44:11 +0000 (15:44 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 26 Nov 2019 08:59:24 +0000 (08:59 +0000)
Change-Id: I308f1bc1140f213fd54d7fc4f3bfabf8d3ca83a1
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
(cherry picked from commit 145d266dc957a0fb5e51a4db7100060e0df6a052)

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;
                        }