Port: handle 'size_t' / 'off_t' on Solaris
[babeltrace.git] / plugins / ctf / fs-src / file.c
index 61c5a3195b0a0f383336e102d843645be2c48d4e..aa5b8ff68871f58252d2c07f56239cce1ea9ad5b 100644 (file)
@@ -101,7 +101,7 @@ int ctf_fs_file_open(struct ctf_fs_file *file, const char *mode)
        }
 
        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:
This page took 0.024476 seconds and 4 git commands to generate.