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

Fix a gcc warning.
This commit is contained in:
Max Kellermann 2009-02-25 16:44:05 +01:00
parent 2054464c01
commit 7957fefc91

View File

@ -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;
}
}