Metadata: should write reserve_len bytes, not "len"
[lttng-modules.git] / 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.024178 seconds and 4 git commands to generate.