diff options
author | jsg <> | 2017-05-21 11:54:41 +0000 |
---|---|---|
committer | jsg <> | 2017-05-21 11:54:41 +0000 |
commit | cd02cea116f8f7023f94aea2cfd0cee48622e91f (patch) | |
tree | 9dc1cfa3710287923ccdc3d57cd6433b38d26577 | |
parent | 62d15e6c04cafcfafecc360aa1b0f5805601846e (diff) | |
download | openbsd-cd02cea116f8f7023f94aea2cfd0cee48622e91f.tar.gz openbsd-cd02cea116f8f7023f94aea2cfd0cee48622e91f.tar.bz2 openbsd-cd02cea116f8f7023f94aea2cfd0cee48622e91f.zip |
correct a return value test
ok millert@
-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++) { |