while ((size = fscanf(fp, "event { name = %m[^;]; };%n\n", &event, &pos)) == 1) {
if (count > nbmem) {
- DBG("Reallocating event list from %zd to %zd bytes", nbmem,
+ DBG("Reallocating event list from %zu to %zu bytes", nbmem,
nbmem + KERNEL_EVENT_LIST_SIZE);
/* Adding the default size again */
nbmem += KERNEL_EVENT_LIST_SIZE;
*events = elist;
- DBG("Kernel list events done (%ld events)", count);
+ DBG("Kernel list events done (%zu events)", count);
return count;
goto setup_error;
}
- DBG("Listing events (%ld events)", nb_event);
+ DBG("Listing events (%zu events)", nb_event);
list_lttng_events(kchan,
(struct lttng_event *)(cmd_ctx->llm->payload));