summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-12 01:21:54 -0700
committerChris Robinson <[email protected]>2011-09-12 01:21:54 -0700
commitc2e9cda2d15c07090eaa3c60d6b6892cf6cda6a0 (patch)
tree44b62acd1f9e33fd01bd1696dff869490efbf7cf
parent1d6ecee64f528cbce78dd3b6d8f047decf431938 (diff)
Shorten some warning messages
-rw-r--r--Alc/ALc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index cbbacaa2..dec87990 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1518,14 +1518,14 @@ static void ReleaseContext(ALCcontext *context, ALCdevice *device)
if(pthread_getspecific(LocalContext) == context)
{
- WARN("Context %p released while current on thread\n", context);
+ WARN("%p released while current on thread\n", context);
pthread_setspecific(LocalContext, NULL);
ALCcontext_DecRef(context);
}
if(CompExchangePtr((void**)&GlobalContext, context, NULL))
{
- WARN("Context %p released while current\n", context);
+ WARN("%p released while current\n", context);
ALCcontext_DecRef(context);
}
@@ -1549,7 +1549,7 @@ void ALCcontext_DecRef(ALCcontext *context)
static void ReleaseThreadCtx(void *ptr)
{
- WARN("Context %p current for thread being destroyed\n", ptr);
+ WARN("%p current for thread being destroyed\n", ptr);
ALCcontext_DecRef(ptr);
}