aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorLukas Stabe <ahti333+mpdbugs@gmail.com>2013-12-10 19:16:37 +0100
committerMax Kellermann <max@duempel.org>2013-12-10 19:19:31 +0100
commit695ca292742a1d09d9bf9c56cea50ac954383914 (patch)
tree7e0e1b85d5240e15b82b5006d7db686e12e0e559 /src/output
parent02e8da6c98e3f7ea67702dffe1dd2bea57d8389b (diff)
downloadmpd-695ca292742a1d09d9bf9c56cea50ac954383914.tar.gz
mpd-695ca292742a1d09d9bf9c56cea50ac954383914.tar.xz
mpd-695ca292742a1d09d9bf9c56cea50ac954383914.zip
output/osx: fix build failure
Diffstat (limited to 'src/output')
-rw-r--r--src/output/OSXOutputPlugin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/OSXOutputPlugin.cxx b/src/output/OSXOutputPlugin.cxx
index 7debe6ab2..97ebae056 100644
--- a/src/output/OSXOutputPlugin.cxx
+++ b/src/output/OSXOutputPlugin.cxx
@@ -363,9 +363,9 @@ osx_output_open(struct audio_output *ao, AudioFormat &audio_format,
OSStatus status = AudioUnitInitialize(od->au);
if (status != noErr) {
- error.Set(osx_output_domain, status,
- "Unable to initialize OS X audio unit: %s",
- GetMacOSStatusCommentString(status));
+ error.Format(osx_output_domain, status,
+ "Unable to initialize OS X audio unit: %s",
+ GetMacOSStatusCommentString(status));
return false;
}