Metadata: should write reserve_len bytes, not "len"
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 8 Jun 2011 20:10:49 +0000 (16:10 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 8 Jun 2011 20:10:49 +0000 (16:10 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-events.c

index ffcc61ec65d5657fb03a0e0ca7958cb1df43f60f..e3c252d33962b52cdf3e86b90233bec53e2c92f9 100644 (file)
@@ -399,7 +399,7 @@ int lttng_metadata_printf(struct ltt_session *session,
                                ret = waitret;
                        goto end;
                }
-               chan->ops->event_write(&ctx, &str[pos], len);
+               chan->ops->event_write(&ctx, &str[pos], reserve_len);
                chan->ops->event_commit(&ctx);
        }
 end:
This page took 0.037945 seconds and 4 git commands to generate.