aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);
}