From 867ca276adf417d95fac2007d887728bf0dddcca Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 16 Mar 2006 06:41:41 +0000 Subject: Hopefully the last of the spelling fixes :> git-svn-id: https://svn.musicpd.org/mpd/trunk@3923 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutputs/audioOutput_shout.c | 4 ++-- src/main.c | 2 +- src/permission.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3