aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_jack.c6
-rw-r--r--src/audioOutputs/audioOutput_oss.c2
-rw-r--r--src/inputPlugins/mpc_plugin.c4
-rw-r--r--src/inputStream_http.c2
-rw-r--r--src/path.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/audioOutputs/audioOutput_jack.c b/src/audioOutputs/audioOutput_jack.c
index 1fdfaf4bb..d38f00bad 100644
--- a/src/audioOutputs/audioOutput_jack.c
+++ b/src/audioOutputs/audioOutput_jack.c
@@ -267,7 +267,7 @@ static int connect_jack(AudioOutput *audioOutput)
jack_on_shutdown(jd->client, shutdown_callback, (void *)jd);
if ( jack_activate(jd->client) ) {
- ERROR("cannot activate client");
+ ERROR("cannot activate client\n");
freeJackData(audioOutput);
return -1;
}
@@ -312,7 +312,7 @@ static int connect_jack(AudioOutput *audioOutput)
sprintf(port_name, "%s:left", name);
if ( (jack_connect(jd->client, port_name,
output_ports[0])) != 0 ) {
- ERROR("%s is not a valid Jack Client / Port ",
+ ERROR("%s is not a valid Jack Client / Port\n",
output_ports[0]);
freeJackData(audioOutput);
free(port_name);
@@ -321,7 +321,7 @@ static int connect_jack(AudioOutput *audioOutput)
sprintf(port_name, "%s:right", name);
if ( (jack_connect(jd->client, port_name,
output_ports[1])) != 0 ) {
- ERROR("%s is not a valid Jack Client / Port ",
+ ERROR("%s is not a valid Jack Client / Port\n",
output_ports[1]);
freeJackData(audioOutput);
free(port_name);
diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c
index 01293cbd1..74c62ce96 100644
--- a/src/audioOutputs/audioOutput_oss.c
+++ b/src/audioOutputs/audioOutput_oss.c
@@ -377,7 +377,7 @@ static int oss_open_default(AudioOutput *ao, ConfigParam *param, OssData *od)
ERROR("%s: permission denied\n", dev);
break;
default:
- ERROR("Error accessing %s: %s", dev, strerror(err[i]));
+ ERROR("Error accessing %s: %s\n", dev, strerror(err[i]));
}
}
exit(EXIT_FAILURE);
diff --git a/src/inputPlugins/mpc_plugin.c b/src/inputPlugins/mpc_plugin.c
index 885f6cfc9..25cb678b6 100644
--- a/src/inputPlugins/mpc_plugin.c
+++ b/src/inputPlugins/mpc_plugin.c
@@ -158,7 +158,7 @@ static int mpc_decode(OutputBuffer * cb, DecoderControl * dc,
if ((ret = mpc_streaminfo_read(&info, &reader)) != ERROR_CODE_OK) {
closeInputStream(inStream);
if (!dc->stop) {
- ERROR("Not a valid musepack stream");
+ ERROR("Not a valid musepack stream\n");
return -1;
} else {
dc->state = DECODE_STATE_STOP;
@@ -172,7 +172,7 @@ static int mpc_decode(OutputBuffer * cb, DecoderControl * dc,
if (!mpc_decoder_initialize(&decoder, &info)) {
closeInputStream(inStream);
if (!dc->stop) {
- ERROR("Not a valid musepack stream");
+ ERROR("Not a valid musepack stream\n");
} else {
dc->state = DECODE_STATE_STOP;
dc->stop = 0;
diff --git a/src/inputStream_http.c b/src/inputStream_http.c
index a2b343c6f..259680e75 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -81,7 +81,7 @@ void inputStream_initHttp(void)
param = getConfigParam(CONF_HTTP_PROXY_PORT);
if (!param) {
- FATAL("%s specified but not %s", CONF_HTTP_PROXY_HOST,
+ FATAL("%s specified but not %s\n", CONF_HTTP_PROXY_HOST,
CONF_HTTP_PROXY_PORT);
}
proxyPort = param->value;
diff --git a/src/path.c b/src/path.c
index f30eb0793..134a0701c 100644
--- a/src/path.c
+++ b/src/path.c
@@ -220,7 +220,7 @@ static char *pfx_path(const char *path, const char *pfx, const size_t pfx_len)
/* unlikely, return an empty string because truncating would
* also be wrong... break early and break loudly (the system
* headers are likely screwed, not mpd) */
- ERROR("Cannot prefix '%s' to '%s', max: %d", pfx, path, MAXPATHLEN);
+ ERROR("Cannot prefix '%s' to '%s', max: %d\n", pfx, path, MAXPATHLEN);
ret[0] = '\0';
return ret;
}