diff options
author | Oliver McFadden <z3ro.geek@gmail.com> | 2007-05-09 03:32:15 +0000 |
---|---|---|
committer | Oliver McFadden <z3ro.geek@gmail.com> | 2007-05-09 03:32:15 +0000 |
commit | 28b47110b617c137ba18b9273c6172135a99b29d (patch) | |
tree | fb5f62a876fef21d9ff5d8220f53e9ae9b909cf3 /src/mesa/drivers/dri/r300/r300_ioctl.c | |
parent | fe2c58d2d520d49bbf4c922885ae4f0bf27fcde9 (diff) |
r300: Converted exit calls to _mesa_exit calls.
Note that the exit codes are inconsistent and should be fixed.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c index de0a482eb5..05fe5e2c90 100644 --- a/src/mesa/drivers/dri/r300/r300_ioctl.c +++ b/src/mesa/drivers/dri/r300/r300_ioctl.c @@ -465,7 +465,7 @@ static void r300RefillCurrentDmaRegion(r300ContextPtr rmesa, int size) if (dmabuf->id == 0) { fprintf(stderr, "Error: Could not get dma buffer... exiting\n"); - exit(-1); + _mesa_exit(-1); } } @@ -591,7 +591,7 @@ static void r300RefillCurrentDmaRegion(r300ContextPtr rmesa) UNLOCK_HARDWARE(&rmesa->radeon); fprintf(stderr, "Error: Could not get dma buffer... exiting\n"); - exit(-1); + _mesa_exit(-1); } } |