aboutsummaryrefslogtreecommitdiffstats
path: root/test/software_volume.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-25 16:44:05 +0100
committerMax Kellermann <max@duempel.org>2009-02-25 16:44:05 +0100
commit7957fefc91d2148fb2733f01ceaadf78d6844f1f (patch)
tree9c0dec18bf1d2876164238c8365cf94ca7e58095 /test/software_volume.c
parent2054464c01091af51d18a348e797cea26696676d (diff)
downloadmpd-7957fefc91d2148fb2733f01ceaadf78d6844f1f.tar.gz
mpd-7957fefc91d2148fb2733f01ceaadf78d6844f1f.tar.xz
mpd-7957fefc91d2148fb2733f01ceaadf78d6844f1f.zip
test/software_volume: pass error->message to g_printerr()
Fix a gcc warning.
Diffstat (limited to 'test/software_volume.c')
-rw-r--r--test/software_volume.c3
1 files changed, 2 insertions, 1 deletions
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;
}
}