Namespace struct stream_pos
[babeltrace.git] / lib / context.c
index d06742231604b6b4ea55f32a5e2deeea32e8fd71..18e2e22c7891011229412e613b93828eccf1c904 100644 (file)
@@ -67,7 +67,7 @@ struct bt_context *bt_context_create(void)
 
 int bt_context_add_trace(struct bt_context *ctx, const char *path,
                const char *format_name,
-               void (*packet_seek)(struct stream_pos *pos, size_t index,
+               void (*packet_seek)(struct bt_stream_pos *pos, size_t index,
                        int whence),
                struct mmap_stream_list *stream_list,
                FILE *metadata)
@@ -90,7 +90,7 @@ int bt_context_add_trace(struct bt_context *ctx, const char *path,
        if (path) {
                td = fmt->open_trace(path, O_RDONLY, packet_seek, NULL);
                if (!td) {
-                       fprintf(stderr, "[warning] [Context] Cannot open_trace of format %s at path %s.\n\n",
+                       fprintf(stderr, "[warning] [Context] Cannot open_trace of format %s at path %s.\n",
                                        format_name, path);
                        ret = -1;
                        goto end;
This page took 0.023594 seconds and 4 git commands to generate.