Port: handle 'size_t' / 'off_t' on Solaris
[babeltrace.git] / plugins / ctf / fs-src / data-stream-file.c
index 76b58da90d5aa527827b90b366d47cc4f3934bcd..b49a32f683e93bce72ba7c2072153a363553aa3f 100644 (file)
@@ -110,9 +110,9 @@ enum bt_ctf_notif_iter_medium_status ds_file_mmap_next(
                        PROT_READ, MAP_PRIVATE, fileno(ds_file->file->fp),
                        ds_file->mmap_offset);
        if (ds_file->mmap_addr == MAP_FAILED) {
-               BT_LOGE("Cannot memory-map address (size %zu) of file \"%s\" (%p) at offset %zu: %s",
+               BT_LOGE("Cannot memory-map address (size %zu) of file \"%s\" (%p) at offset %jd: %s",
                                ds_file->mmap_len, ds_file->file->path->str,
-                               ds_file->file->fp, ds_file->mmap_offset,
+                               ds_file->file->fp, (intmax_t) ds_file->mmap_offset,
                                strerror(errno));
                goto error;
        }
This page took 0.024249 seconds and 4 git commands to generate.