[alsa-devel] [PATCH 08/10] alsabat: fix an incorrect print

han.lu at intel.com han.lu at intel.com
Wed Mar 2 09:53:18 CET 2016


From: "Lu, Han" <han.lu at intel.com>

Signed-off-by: Lu, Han <han.lu at intel.com>

diff --git a/bat/alsa.c b/bat/alsa.c
index 443ede8..0a5f899 100644
--- a/bat/alsa.c
+++ b/bat/alsa.c
@@ -329,7 +329,7 @@ void *playback_alsa(struct bat *bat)
 				bat->playback.file);
 		bat->fp = fopen(bat->playback.file, "rb");
 		if (bat->fp == NULL) {
-			fprintf(bat->err, _("Cannot open file for capture: "));
+			fprintf(bat->err, _("Cannot open file for playback: "));
 			fprintf(bat->err, _("%s %d\n"),
 					bat->playback.file, -errno);
 			retval_play = 1;
-- 
2.5.0



More information about the Alsa-devel mailing list