test/software_volume: pass error->message to g_printerr()
Fix a gcc warning.
This commit is contained in:
parent
2054464c01
commit
7957fefc91
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user