aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-08-27 21:03:22 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-08-27 21:03:22 +0000
commit8d89add8e78d32b14df151e4b2825545b9be3e45 (patch)
tree101a14f1cbc8de2cb7345f8ad2030e5e0e3879e6 /src/audioOutputs
parentf18e52417639518545ebce3649f3ce3450bcb01c (diff)
downloadmpd-8d89add8e78d32b14df151e4b2825545b9be3e45.tar.gz
mpd-8d89add8e78d32b14df151e4b2825545b9be3e45.tar.xz
mpd-8d89add8e78d32b14df151e4b2825545b9be3e45.zip
adding \n to a bunch of error message strings
git-svn-id: https://svn.musicpd.org/mpd/trunk@6826 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutputs')
-rw-r--r--src/audioOutputs/audioOutput_jack.c6
-rw-r--r--src/audioOutputs/audioOutput_oss.c2
2 files changed, 4 insertions, 4 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);