summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKichan Kwon <k_c.kwon@samsung.com>2020-04-23 11:47:26 +0900
committerKichan Kwon <k_c.kwon@samsung.com>2020-04-23 14:15:50 +0900
commitbdf612dc29c530dcebba4d68a8998b037d5e63fc (patch)
tree611be2c3e672bfcb98d59319dba33223c7142408
parentee88ac07426a5cd1e0763bc4c4afa4c06aca9284 (diff)
downloadlibtota-tizen_6.0_hotfix.tar.gz
libtota-tizen_6.0_hotfix.tar.bz2
libtota-tizen_6.0_hotfix.zip
Change-Id: Iae973801894f6afe13aa4e5ae61765e19dd53a4b Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
-rwxr-xr-xss_engine/fota_tar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ss_engine/fota_tar.c b/ss_engine/fota_tar.c
index 7b1fd14..9da5db6 100755
--- a/ss_engine/fota_tar.c
+++ b/ss_engine/fota_tar.c
@@ -832,8 +832,8 @@ int tar_get_folder_size(char *tar, char *item)
LOG("size too big. (size_dec=0x%08X)\n", (unsigned int)size_dec);
ret = -1;
break;
- } else if (size_dec == 0) {
- LOG("strtoul failed, size_oct is %s\n", size_oct);
+ } else if (size_dec == (off_t)-1) {
+ LOG("strtoul failed. (errno=%d)\n", errno);
ret = -1;
break;
}