diff options
author | 2003-09-08 16:24:05 +0000 | |
---|---|---|
committer | 2003-09-08 16:24:05 +0000 | |
commit | f5daa57559b8fa0efb859933a4c06b646bf2b049 (patch) | |
tree | 2884d180e461894dea298cdf14488ca8b6cb4807 /lib/libc/stdlib/heapsort.c | |
parent | typo from Tom Cosgrove (PR 3459); (diff) | |
download | wireguard-openbsd-f5daa57559b8fa0efb859933a4c06b646bf2b049.tar.xz wireguard-openbsd-f5daa57559b8fa0efb859933a4c06b646bf2b049.zip |
typo; ianm@cit.uws.edu.au
Diffstat (limited to 'lib/libc/stdlib/heapsort.c')
-rw-r--r-- | lib/libc/stdlib/heapsort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/heapsort.c b/lib/libc/stdlib/heapsort.c index e8f090524f7..f4aeeef7a3a 100644 --- a/lib/libc/stdlib/heapsort.c +++ b/lib/libc/stdlib/heapsort.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: heapsort.c,v 1.5 2003/09/07 18:57:05 jmc Exp $"; +static char *rcsid = "$OpenBSD: heapsort.c,v 1.6 2003/09/08 16:24:05 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -90,7 +90,7 @@ static char *rcsid = "$OpenBSD: heapsort.c,v 1.5 2003/09/07 18:57:05 jmc Exp $"; * Select the top of the heap and 'heapify'. Since by far the most expensive * action is the call to the compar function, a considerable optimization * in the average case can be achieved due to the fact that k, the displaced - * elememt, is usually quite small, so it would be preferable to first + * element, is usually quite small, so it would be preferable to first * heapify, always maintaining the invariant that the larger child is copied * over its parent's record. * |