diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx index 3fc802507..38748cec6 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -156,7 +156,7 @@ osx_output_set_device(OSXOutput *oo, Error &error) } if (!CFStringGetCString(cfname, name, sizeof(name), kCFStringEncodingUTF8)) { - error.Format(osx_output_domain, "Unable to convert device name from CFString to char*"); + error.Set(osx_output_domain, "Unable to convert device name from CFStringRef to char*"); ret = false; goto done; }