summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/mga/mgaioctl.h
diff options
context:
space:
mode:
authoridr <idr>2003-04-30 01:50:33 +0000
committeridr <idr>2003-04-30 01:50:33 +0000
commit0c8083e262d7dcc6dc13e0c6fc724855c2e73a30 (patch)
treeb3bf5ce832016ca71389c71b449041ac2db42be0 /xc/lib/GL/mesa/src/drv/mga/mgaioctl.h
parent3a20c6039031368447743b8361dea49b8ec3c60b (diff)
Merged texmem-0-0-1texmem-0-0-1-20030429-merge
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/mga/mgaioctl.h')
-rw-r--r--xc/lib/GL/mesa/src/drv/mga/mgaioctl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/xc/lib/GL/mesa/src/drv/mga/mgaioctl.h b/xc/lib/GL/mesa/src/drv/mga/mgaioctl.h
index ecf513dd7..2d959d824 100644
--- a/xc/lib/GL/mesa/src/drv/mga/mgaioctl.h
+++ b/xc/lib/GL/mesa/src/drv/mga/mgaioctl.h
@@ -104,8 +104,9 @@ do { \
if ( ret < 0 ) { \
drmCommandNone( mmesa->driFd, DRM_MGA_RESET ); \
UNLOCK_HARDWARE( mmesa ); \
- fprintf( stderr, "%s: flush ret=%d\n", __FUNCTION__, ret ); \
- /*fprintf( stderr, "drmMGAFlushDMA: return = %d\n", ret );*/ \
+ fprintf( stderr, "%s: flush return = %s (%d), flags = 0x%08x\n", \
+ __FUNCTION__, strerror( -ret ), -ret, \
+ (unsigned)(flags) ); \
exit( 1 ); \
} \
} while (0)