From af20b849aa8b081bd20c47bda4874d6ea6ee9365 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 6 Aug 2011 21:39:08 +0200 Subject: [PATCH] audiod: Fix writer setup info message. In the non-default case the wrong variable was used as the array index. --- audiod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiod.c b/audiod.c index 74aa3865..5af79b04 100644 --- a/audiod.c +++ b/audiod.c @@ -791,7 +791,7 @@ static int parse_writer_args(void) a->writer_conf = para_realloc(a->writer_conf, (nw + 1) * sizeof(void *)); a->writer_nums[nw] = writer_num; a->writer_conf[nw] = wconf; - PARA_INFO_LOG("%s writer #%d: %s\n", audio_formats[writer_num], + PARA_INFO_LOG("%s writer #%d: %s\n", audio_formats[j], nw, writer_names[writer_num]); a->num_writers++; } -- 2.39.2