diff options
author | sobomax <sobomax@FreeBSD.org> | 2004-06-25 13:04:49 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2004-06-25 13:04:49 +0000 |
commit | 8ce714e6e34bce42487802bd21bbc6f3b70377f9 (patch) | |
tree | 5f6281b8d9e171b1aed92d98f0d8f5c516e60022 /sys/powerpc/ofw/ofw_pcib_pci.c | |
parent | 211c1eafc918219359bb552e2e7f4ec56ba116a1 (diff) | |
download | FreeBSD-src-8ce714e6e34bce42487802bd21bbc6f3b70377f9.zip FreeBSD-src-8ce714e6e34bce42487802bd21bbc6f3b70377f9.tar.gz |
o Fix semantics of comparison function for qsort(3). According to qsort(3)
manpage:
The comparison function must return an integer less than, equal to, or
greater than zero if the first argument is considered to be respectively
less than, equal to, or greater than the second.
Therefore, simply returning "arg1 > arg2" is incorrect. Actually it works
but for the number of items to be sorted less than 7 due to special case
handling in qsort(3);
o add missing '\n' to one of usage() calls.
Approved by: phk
Diffstat (limited to 'sys/powerpc/ofw/ofw_pcib_pci.c')
0 files changed, 0 insertions, 0 deletions