diff options
Diffstat (limited to 'test/stdlib/qsort.c')
-rw-r--r-- | test/stdlib/qsort.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/stdlib/qsort.c b/test/stdlib/qsort.c index ac3053d3f..9e706c78d 100644 --- a/test/stdlib/qsort.c +++ b/test/stdlib/qsort.c @@ -19,6 +19,7 @@ int main(void) int i, numdir; + chdir("/"); numdir = scandir(".", &array, select_files, NULL); printf("\nGot %d entries from scandir().\n", numdir); for (i = 0; i < numdir; ++i) { |