From c2e9cda2d15c07090eaa3c60d6b6892cf6cda6a0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 12 Sep 2011 01:21:54 -0700 Subject: [PATCH] Shorten some warning messages --- Alc/ALc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Alc/ALc.c b/Alc/ALc.c index cbbacaa..dec8799 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); }