BT_LOGD("Opened file: %p", file->fp);
if (fstat(fileno(file->fp), &stat)) {
- BT_LOGE("Cannot get file informations: %s", strerror(errno));
+ BT_LOGE("Cannot get file information: %s", strerror(errno));
goto error;
}
file->size = stat.st_size;
- BT_LOGD("File is %zu bytes", file->size);
+ BT_LOGD("File is %jd bytes", (intmax_t) file->size);
goto end;
error: