X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ring-buffer-client.h;fp=liblttng-ust%2Flttng-ring-buffer-client.h;h=8e14acf5fc3caebad3ad2ad54c0ed52001a979c2;hb=879f9b0aa0c9a8ee31ba47bfaaf6539ef2e349b2;hp=84457f0a04d97ee5c1e48873b3a1a07b45cc358c;hpb=b4c8bf2f2320b7a2d19dec6addda5d6d2aa227a3;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ring-buffer-client.h b/liblttng-ust/lttng-ring-buffer-client.h index 84457f0a..8e14acf5 100644 --- a/liblttng-ust/lttng-ring-buffer-client.h +++ b/liblttng-ust/lttng-ring-buffer-client.h @@ -764,10 +764,10 @@ void lttng_event_strcpy(struct lttng_ust_lib_ring_buffer_ctx *ctx, const char *s } static -void lttng_event_strcpy_pad(struct lttng_ust_lib_ring_buffer_ctx *ctx, +void lttng_event_pstrcpy_pad(struct lttng_ust_lib_ring_buffer_ctx *ctx, const char *src, size_t len) { - lib_ring_buffer_strcpy(&client_config, ctx, src, len, '\0'); + lib_ring_buffer_pstrcpy(&client_config, ctx, src, len, '\0'); } #if 0 @@ -833,7 +833,7 @@ static struct lttng_transport lttng_relay_transport = { .event_commit = lttng_event_commit, .event_write = lttng_event_write, .event_strcpy = lttng_event_strcpy, - .event_strcpy_pad = lttng_event_strcpy_pad, + .event_pstrcpy_pad = lttng_event_pstrcpy_pad, }, .client_config = &client_config, };