diff options
author | Max Kellermann <max@duempel.org> | 2009-02-25 16:44:05 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-25 16:44:05 +0100 |
commit | 7957fefc91d2148fb2733f01ceaadf78d6844f1f (patch) | |
tree | 9c0dec18bf1d2876164238c8365cf94ca7e58095 | |
parent | 2054464c01091af51d18a348e797cea26696676d (diff) | |
download | mpd-7957fefc91d2148fb2733f01ceaadf78d6844f1f.tar.gz mpd-7957fefc91d2148fb2733f01ceaadf78d6844f1f.tar.xz mpd-7957fefc91d2148fb2733f01ceaadf78d6844f1f.zip |
test/software_volume: pass error->message to g_printerr()
Fix a gcc warning.
-rw-r--r-- | test/software_volume.c | 3 |
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; } } |