summaryrefslogtreecommitdiffstats
path: root/Alc/alcConfig.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-13 01:43:00 -0700
committerChris Robinson <[email protected]>2011-07-13 01:43:00 -0700
commit17773c56449475c1d255d839b89400668f15f40f (patch)
tree8907c354b007a6ac38e5d2b8b5b1c2f7312107a0 /Alc/alcConfig.c
parente1e47c6e437b58a07cc447cf212dd6ec61fdfbc0 (diff)
Rename the ERROR macro to ERR
Diffstat (limited to 'Alc/alcConfig.c')
-rw-r--r--Alc/alcConfig.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index aab4039d..82375f40 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -81,7 +81,7 @@ static void LoadConfigFromFile(FILE *f)
if(!buffer[i])
{
- ERROR("config parse error: bad line \"%s\"\n", buffer);
+ ERR("config parse error: bad line \"%s\"\n", buffer);
continue;
}
buffer[i] = 0;
@@ -112,7 +112,7 @@ static void LoadConfigFromFile(FILE *f)
nextBlock = realloc(cfgBlocks, (cfgCount+1)*sizeof(ConfigBlock));
if(!nextBlock)
{
- ERROR("config parse error: error reallocating config blocks\n");
+ ERR("config parse error: error reallocating config blocks\n");
continue;
}
cfgBlocks = nextBlock;
@@ -137,7 +137,7 @@ static void LoadConfigFromFile(FILE *f)
if(!buffer[i] || buffer[i] == '#' || i == 0)
{
- ERROR("config parse error: malformed option line: \"%s\"\n", buffer);
+ ERR("config parse error: malformed option line: \"%s\"\n", buffer);
continue;
}
@@ -150,7 +150,7 @@ static void LoadConfigFromFile(FILE *f)
i++;
if(buffer[i] != '=')
{
- ERROR("config parse error: option without a value: \"%s\"\n", buffer);
+ ERR("config parse error: option without a value: \"%s\"\n", buffer);
continue;
}
}
@@ -174,7 +174,7 @@ static void LoadConfigFromFile(FILE *f)
ent = realloc(curBlock->entries, (curBlock->entryCount+1)*sizeof(ConfigEntry));
if(!ent)
{
- ERROR("config parse error: error reallocating config entries\n");
+ ERR("config parse error: error reallocating config entries\n");
continue;
}
curBlock->entries = ent;