label = talloc_array(item, char, len + 1);
wcstombs(label, tmp, len + 1);
label = talloc_array(item, char, len + 1);
wcstombs(label, tmp, len + 1);
- pb_log("%s: %u current + %u new = %u\n", __func__, menu->item_count,
+ pb_log_fn("%u current + %u new = %u\n", menu->item_count,
count, menu->item_count + count);
/* Note that items array has a null terminator. */
count, menu->item_count + count);
/* Note that items array has a null terminator. */