From f782f2c5fe3b3d26f70d720d45323184baf336bc Mon Sep 17 00:00:00 2001 From: miod <> Date: Sat, 29 Dec 2001 02:35:37 +0000 Subject: [PATCH] Two functions can return errors here, not just one. --- src/lib/libc/stdlib/qsort.3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/libc/stdlib/qsort.3 b/src/lib/libc/stdlib/qsort.3 index 7b130c39..d7321a9a 100644 --- a/src/lib/libc/stdlib/qsort.3 +++ b/src/lib/libc/stdlib/qsort.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: qsort.3,v 1.7 2001/10/29 18:10:49 deraadt Exp $ +.\" $OpenBSD: qsort.3,v 1.8 2001/12/29 02:35:37 miod Exp $ .\" .Dd June 4, 1993 .Dt QSORT 3 @@ -162,7 +162,9 @@ is set to indicate the error. .Sh ERRORS The .Fn heapsort -function succeeds unless: +and +.Fn mergesort +functions succeed unless: .Bl -tag -width Er .It Bq Er EINVAL The