aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-03-16 06:41:41 +0000
committerEric Wong <normalperson@yhbt.net>2006-03-16 06:41:41 +0000
commit867ca276adf417d95fac2007d887728bf0dddcca (patch)
treea85b0bb42032f8c7882e5d0ef7a6c575da86d4b6 /src
parente0439446b7eb558d12372cb6be39ada0d67db6a6 (diff)
downloadmpd-867ca276adf417d95fac2007d887728bf0dddcca.tar.gz
mpd-867ca276adf417d95fac2007d887728bf0dddcca.tar.xz
mpd-867ca276adf417d95fac2007d887728bf0dddcca.zip
Hopefully the last of the spelling fixes :>
git-svn-id: https://svn.musicpd.org/mpd/trunk@3923 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/audioOutputs/audioOutput_shout.c4
-rw-r--r--src/main.c2
-rw-r--r--src/permission.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index d705eefe1..6bd418f9b 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -170,7 +170,7 @@ static int myShout_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
if(*test != '\0' || sd->quality < 0.0 || sd->quality > 10.0) {
ERROR("shout quality \"%s\" is not a number in the "
- "rage 0-10, line %i\n", blockParam->value,
+ "range 0-10, line %i\n", blockParam->value,
blockParam->line);
exit(EXIT_FAILURE);
}
@@ -196,7 +196,7 @@ static int myShout_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
sd->bitrate = strtol(blockParam->value, &test, 10);
if(*test != '\0' || sd->bitrate <= 0) {
- ERROR("bitrate at line %i should be a positve integer "
+ ERROR("bitrate at line %i should be a positive integer "
"\n", blockParam->line);
exit(EXIT_FAILURE);
}
diff --git a/src/main.c b/src/main.c
index 7b05e7c14..289686a55 100644
--- a/src/main.c
+++ b/src/main.c
@@ -220,7 +220,7 @@ void changeToUser() {
* (must be done before we change our uid)
*/
if (initgroups(param->value, userpwd->pw_gid) == -1) {
- WARNING("cannot init suplementary groups "
+ WARNING("cannot init supplementary groups "
"of user \"%s\" at line %i: %s\n",
param->value, param->line,
strerror(errno));
diff --git a/src/permission.c b/src/permission.c
index 00b754555..e44415d40 100644
--- a/src/permission.c
+++ b/src/permission.c
@@ -58,7 +58,7 @@ unsigned int parsePermissions(char * string) {
permission |= PERMISSION_ADMIN;
}
else {
- ERROR("uknown permission \"%s\"\n",temp);
+ ERROR("unknown permission \"%s\"\n",temp);
exit(EXIT_FAILURE);
}
@@ -97,7 +97,7 @@ void initPermissions() {
if(!(temp = strtok_r(param->value,
PERMISSION_PASSWORD_CHAR,&cp2))) {
- ERROR("something weird just happend in permission.c\n");
+ ERROR("something weird just happened in permission.c\n");
exit(EXIT_FAILURE);
}