summaryrefslogtreecommitdiff
path: root/tests/gem_stress.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_stress.c')
-rw-r--r--tests/gem_stress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_stress.c b/tests/gem_stress.c
index 9f20bde2..f687b2d1 100644
--- a/tests/gem_stress.c
+++ b/tests/gem_stress.c
@@ -571,7 +571,7 @@ static void exchange_uint(void *array, unsigned i, unsigned j)
{
unsigned *i_arr = array;
- swap(i_arr[i], i_arr[j]);
+ igt_swap(i_arr[i], i_arr[j]);
}
static void copy_tiles(unsigned *permutation)