Commit 7957fefc authored by Max Kellermann's avatar Max Kellermann

test/software_volume: pass error->message to g_printerr()

Fix a gcc warning.
parent 2054464c
...@@ -51,7 +51,8 @@ int main(int argc, char **argv) ...@@ -51,7 +51,8 @@ int main(int argc, char **argv)
if (argc > 1) { if (argc > 1) {
ret = audio_format_parse(&audio_format, argv[1], &error); ret = audio_format_parse(&audio_format, argv[1], &error);
if (!ret) { if (!ret) {
g_printerr("Failed to parse audio format: %s\n"); g_printerr("Failed to parse audio format: %s\n",
error->message);
return 1; return 1;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment