return -EINVAL;
}
- ret = get_memory_size(tzplatform_getenv(TZ_SYS_HOME), &temp);
+ ret = get_memory_size(tzplatform_getenv(TZ_SYS_USER), &temp);
if (ret || temp.f_bsize == 0) {
_E("fail to get memory size %d", ret); //LCOV_EXCL_LINE
return -errno; //LCOV_EXCL_LINE System Error
return -EINVAL;
}
- ret = statvfs(tzplatform_getenv(TZ_SYS_HOME), buf);
+ ret = statvfs(tzplatform_getenv(TZ_SYS_USER), buf);
if (ret) {
_E("fail to get memory size"); //LCOV_EXCL_LINE
return -errno; //LCOV_EXCL_LINE System Error