From 7957fefc91d2148fb2733f01ceaadf78d6844f1f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 25 Feb 2009 16:44:05 +0100 Subject: test/software_volume: pass error->message to g_printerr() Fix a gcc warning. --- test/software_volume.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/software_volume.c') diff --git a/test/software_volume.c b/test/software_volume.c index 75099d13a..176ba4e06 100644 --- a/test/software_volume.c +++ b/test/software_volume.c @@ -51,7 +51,8 @@ int main(int argc, char **argv) if (argc > 1) { ret = audio_format_parse(&audio_format, argv[1], &error); if (!ret) { - g_printerr("Failed to parse audio format: %s\n"); + g_printerr("Failed to parse audio format: %s\n", + error->message); return 1; } } -- cgit v1.2.3