Rewrite fprintf into RARCH_ERR

This commit is contained in:
twinaphex 2020-05-24 19:22:17 +02:00
parent 88b8e5a16a
commit bcbad532e6

View File

@ -1525,7 +1525,7 @@ static struct pcm_params *pcm_params_get(unsigned int card, unsigned int device,
fd = open(fn, O_RDWR|O_NONBLOCK);
if (fd < 0)
{
fprintf(stderr, "cannot open device '%s'\n", fn);
RARCH_ERR("[TINYALSA] Cannot open device '%s'\n", fn);
goto err_open;
}