From bcbad532e645fb46170e531ad2b790588a5b74f4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 24 May 2020 19:22:17 +0200 Subject: [PATCH] Rewrite fprintf into RARCH_ERR --- audio/drivers/tinyalsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/drivers/tinyalsa.c b/audio/drivers/tinyalsa.c index 4344d7a7c8..167db4bbe7 100644 --- a/audio/drivers/tinyalsa.c +++ b/audio/drivers/tinyalsa.c @@ -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; }