diff options
Diffstat (limited to 'src/gallium/state_trackers/xvmc/tests/test_subpicture.c')
-rw-r--r-- | src/gallium/state_trackers/xvmc/tests/test_subpicture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xvmc/tests/test_subpicture.c b/src/gallium/state_trackers/xvmc/tests/test_subpicture.c index ae0bc8b5a73..57ba1c75138 100644 --- a/src/gallium/state_trackers/xvmc/tests/test_subpicture.c +++ b/src/gallium/state_trackers/xvmc/tests/test_subpicture.c @@ -26,7 +26,6 @@ **************************************************************************/ #include <assert.h> -#include <error.h> #include <stdio.h> #include <stdlib.h> #include "testlib.h" @@ -87,7 +86,8 @@ int main(int argc, char **argv) )) { XCloseDisplay(display); - error(1, 0, "Error, unable to find a good port.\n"); + fprintf(stderr, "Error, unable to find a good port.\n"); + exit(1); } if (is_overlay) |