diff options
author | Allan McRae <allan@archlinux.org> | 2014-04-12 14:26:29 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-04-12 14:26:29 +1000 |
commit | 89e691f2ae498c6d6eac34cccda0bdcaca13717e (patch) | |
tree | 6dd1ae8c28414543ae3082b6e248b0b07e0d9e97 /manual | |
parent | fe8d072cb7b7ce37acb2586b3c0269d1c47ecb6d (diff) | |
download | glibc-89e691f2ae498c6d6eac34cccda0bdcaca13717e.tar glibc-89e691f2ae498c6d6eac34cccda0bdcaca13717e.tar.gz glibc-89e691f2ae498c6d6eac34cccda0bdcaca13717e.tar.bz2 glibc-89e691f2ae498c6d6eac34cccda0bdcaca13717e.zip |
Fix qsort argument order in collation example
Diffstat (limited to 'manual')
-rw-r--r-- | manual/string.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/string.texi b/manual/string.texi index 4437dddd47..ba5a2c7ba5 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -1572,8 +1572,8 @@ sort_strings_fast (char **array, int nstrings) @} /* @r{Sort @code{temp_array} by comparing transformed strings.} */ - qsort (temp_array, sizeof (struct sorter), - nstrings, compare_elements); + qsort (temp_array, nstrings, + sizeof (struct sorter), compare_elements); /* @r{Put the elements back in the permanent array} @r{in their sorted order.} */ |