diff options
author | jsg <> | 2017-05-21 11:54:41 +0000 |
---|---|---|
committer | jsg <> | 2017-05-21 11:54:41 +0000 |
commit | df4200f0f7b054ce31b6fae98e390149c80f7d39 (patch) | |
tree | 9dc1cfa3710287923ccdc3d57cd6433b38d26577 /src | |
parent | 5d7ce5f934559a6d9489db5a452de106d39e03a1 (diff) | |
download | openbsd-df4200f0f7b054ce31b6fae98e390149c80f7d39.tar.gz openbsd-df4200f0f7b054ce31b6fae98e390149c80f7d39.tar.bz2 openbsd-df4200f0f7b054ce31b6fae98e390149c80f7d39.zip |
correct a return value test
ok millert@
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libc/qsort/qsort_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libc/qsort/qsort_test.c b/src/regress/lib/libc/qsort/qsort_test.c index 4de6730864..0596aa4eb4 100644 --- a/src/regress/lib/libc/qsort/qsort_test.c +++ b/src/regress/lib/libc/qsort/qsort_test.c | |||
@@ -1668,7 +1668,7 @@ run_tests(int n) | |||
1668 | x = reallocarray(NULL, n, sizeof(x[0])); | 1668 | x = reallocarray(NULL, n, sizeof(x[0])); |
1669 | y = reallocarray(NULL, n, sizeof(y[0])); | 1669 | y = reallocarray(NULL, n, sizeof(y[0])); |
1670 | z = reallocarray(NULL, n, sizeof(z[0])); | 1670 | z = reallocarray(NULL, n, sizeof(z[0])); |
1671 | if (y == NULL || y == NULL || z == NULL) | 1671 | if (x == NULL || y == NULL || z == NULL) |
1672 | err(1, NULL); | 1672 | err(1, NULL); |
1673 | 1673 | ||
1674 | for (dist = SAWTOOTH; dist != INVALID; dist++) { | 1674 | for (dist = SAWTOOTH; dist != INVALID; dist++) { |