summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2010-03-03 21:22:38 +0200
committerGeorge Sapountzis <[email protected]>2010-03-03 21:23:20 +0200
commit3b8ff24554253cf60bbbc8564c11008ff3866953 (patch)
treed41ceced94a3da3d60b2c52d4ec4d0db94f7ce30
parent8bd8aec81d0310a3b790d425c41968003b454380 (diff)
glapi: minor cosmetic
-rw-r--r--src/mesa/glapi/glthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/glapi/glthread.c b/src/mesa/glapi/glthread.c
index 17b6bb2b6a7..f365d17bdda 100644
--- a/src/mesa/glapi/glthread.c
+++ b/src/mesa/glapi/glthread.c
@@ -139,7 +139,7 @@ _glthread_InitTSD(_glthread_TSD *tsd)
{
tsd->key = TlsAlloc();
if (tsd->key == TLS_OUT_OF_INDEXES) {
- perror("Mesa:_glthread_InitTSD");
+ perror(INIT_TSD_ERROR);
InsteadOf_exit(-1);
}
tsd->initMagic = INIT_MAGIC;
@@ -176,8 +176,8 @@ _glthread_SetTSD(_glthread_TSD *tsd, void *ptr)
_glthread_InitTSD(tsd);
}
if (TlsSetValue(tsd->key, ptr) == 0) {
- perror("Mesa:_glthread_SetTSD");
- InsteadOf_exit(-1);
+ perror(SET_TSD_ERROR);
+ InsteadOf_exit(-1);
}
}