Fix broken logf

This commit is contained in:
Mihail Zenkov 2016-03-30 20:48:17 +00:00
parent 7ba50cfdc1
commit 25fc7f1860
2 changed files with 2 additions and 2 deletions

View file

@ -1704,7 +1704,7 @@ static bool audio_buffer_codec(struct track_info *track_info,
if (track_info->codec_hid >= 0)
{
logf("Buffered codec: %d", afmt);
logf("Buffered codec: %d", track_info->codec_hid);
return true;
}

View file

@ -155,7 +155,7 @@ static void plugin_check_open_close__exit(void)
if (open_files_bitmap_is_clear(&open_files_bitmap))
return;
logf("Plugin '%s' leaks file handles", plugin);
logf("Plugin '%s' leaks file handles", current_plugin);
static const char *lines[] =
{ ID2P(LANG_PLUGIN_ERROR), "#leak-file-handles" };