X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Fctf-text.c;h=20e18e86fcf1e952c8f090db3dff58eb430a3e76;hp=62cb5310092dce9dcdbbc1f28673a11bd7259bbe;hb=20d0dcf9609dcd28aebe87c167d6600ddbe668d1;hpb=613f532b047a23c6916e2c08707b09296edbfcb2 diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c index 62cb5310..20e18e86 100644 --- a/formats/ctf-text/ctf-text.c +++ b/formats/ctf-text/ctf-text.c @@ -76,7 +76,7 @@ enum bt_loglevel { struct trace_descriptor *ctf_text_open_trace(const char *path, int flags, - void (*packet_seek)(struct stream_pos *pos, size_t offset, + void (*packet_seek)(struct stream_pos *pos, size_t index, int whence), FILE *metadata_fp); void ctf_text_close_trace(struct trace_descriptor *descriptor); @@ -459,7 +459,7 @@ error: struct trace_descriptor *ctf_text_open_trace(const char *path, int flags, - void (*packet_seek)(struct stream_pos *pos, size_t offset, + void (*packet_seek)(struct stream_pos *pos, size_t index, int whence), FILE *metadata_fp) { struct ctf_text_stream_pos *pos;