From 40c90e71e79db668ac6f806ad8893aa84ab5b052 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 11 May 2001 20:01:37 +0000 Subject: Fix a couple silly bugs in this test --- test/stdlib/qsort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/stdlib/qsort.c b/test/stdlib/qsort.c index 50464979e..9e706c78d 100644 --- a/test/stdlib/qsort.c +++ b/test/stdlib/qsort.c @@ -1,6 +1,7 @@ #include #include #include +#include int select_files(const struct dirent *dirbuf) { @@ -33,7 +34,7 @@ int main(void) dirbuf = array[i]; printf("[%d] %s\n", i, dirbuf->d_name); } - printf("\nCalling qsort()\n", numdir); + printf("\nCalling qsort()\n"); qsort(array, numdir, sizeof(struct dirent *), alphasort); for (i = 0; i < numdir; ++i) { dirbuf = array[i]; -- cgit v1.2.3