cds_list_for_each_entry(chan, &session->channel_list.head, list) {
ret = kernctl_create_event(chan->fd, event->event);
if (ret < 0) {
+ ERR("Unable to enable event %s", name);
goto error;
}
while ((size = getline(&line, &nb, fp)) != -1) {
if (total + size > nbmem) {
- DBG("Reallocating event list from %ld to %ld bytes", nbmem,
+ DBG("Reallocating event list from %zd to %zd bytes", nbmem,
total + size + KERNEL_EVENT_LIST_SIZE);
/* Adding the default size again */
nbmem = total + size + KERNEL_EVENT_LIST_SIZE;