diff options
author | Chris Robinson <[email protected]> | 2011-07-13 01:43:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-13 01:43:00 -0700 |
commit | 17773c56449475c1d255d839b89400668f15f40f (patch) | |
tree | 8907c354b007a6ac38e5d2b8b5b1c2f7312107a0 /Alc/wave.c | |
parent | e1e47c6e437b58a07cc447cf212dd6ec61fdfbc0 (diff) |
Rename the ERROR macro to ERR
Diffstat (limited to 'Alc/wave.c')
-rw-r--r-- | Alc/wave.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -149,7 +149,7 @@ static ALuint WaveProc(ALvoid *ptr) data->f); if(ferror(data->f)) { - ERROR("Error writing to file\n"); + ERR("Error writing to file\n"); aluHandleDisconnect(pDevice); break; } @@ -179,7 +179,7 @@ static ALCboolean wave_open_playback(ALCdevice *device, const ALCchar *deviceNam if(!data->f) { free(data); - ERROR("Could not open file '%s': %s\n", fname, strerror(errno)); + ERR("Could not open file '%s': %s\n", fname, strerror(errno)); return ALC_FALSE; } @@ -256,7 +256,7 @@ static ALCboolean wave_reset_playback(ALCdevice *device) if(ferror(data->f)) { - ERROR("Error writing header: %s\n", strerror(errno)); + ERR("Error writing header: %s\n", strerror(errno)); return ALC_FALSE; } @@ -266,7 +266,7 @@ static ALCboolean wave_reset_playback(ALCdevice *device) data->buffer = malloc(data->size); if(!data->buffer) { - ERROR("Buffer malloc failed\n"); + ERR("Buffer malloc failed\n"); return ALC_FALSE; } |