pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/top Fix typo in m_netbsd16.c; it's compare_in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59a6ed407938
branches:  trunk
changeset: 480603:59a6ed407938
user:      he <he%pkgsrc.org@localhost>
date:      Thu Sep 16 13:32:16 2004 +0000

description:
Fix typo in m_netbsd16.c; it's compare_index, not compare_inddex.
Fixes build on netbsd-1-6.

diffstat:

 sysutils/top/distinfo         |  4 ++--
 sysutils/top/patches/patch-am |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 2eac1bb46c20 -r 59a6ed407938 sysutils/top/distinfo
--- a/sysutils/top/distinfo     Thu Sep 16 12:49:05 2004 +0000
+++ b/sysutils/top/distinfo     Thu Sep 16 13:32:16 2004 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2004/09/10 01:39:32 jschauma Exp $
+$NetBSD: distinfo,v 1.9 2004/09/16 13:32:16 he Exp $
 
 SHA1 (top-3.6alpha7.tar.gz) = b0336ddc2482b6a52f5345855bf46e0de7d8438a
 Size (top-3.6alpha7.tar.gz) = 295433 bytes
 SHA1 (patch-aj) = 0a15ee8d2581e6150bfdc6c893971147d30cb914
 SHA1 (patch-ak) = 899d1263df15d8389c9391d173369141170ab7ea
 SHA1 (patch-al) = e9619f30350d9357a2a20a1d509a69eadf2b287e
-SHA1 (patch-am) = 18495242954b15f57c14779c8e7d67d73be2b60b
+SHA1 (patch-am) = 565aa4a0dda8d0171f3f11d4edde79a53677a436
 SHA1 (patch-an) = aa2abb6a2e656ae3a7b379cc5a1867fe673e51e5
diff -r 2eac1bb46c20 -r 59a6ed407938 sysutils/top/patches/patch-am
--- a/sysutils/top/patches/patch-am     Thu Sep 16 12:49:05 2004 +0000
+++ b/sysutils/top/patches/patch-am     Thu Sep 16 13:32:16 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-am,v 1.1 2004/07/12 08:14:44 cube Exp $
+$NetBSD: patch-am,v 1.2 2004/09/16 13:32:16 he Exp $
 
---- machine/m_netbsd16.c.orig  2004-07-12 09:11:00.000000000 +0200
+--- machine/m_netbsd16.c.orig  Thu Sep 16 15:39:54 2004
 +++ machine/m_netbsd16.c
 @@ -0,0 +1,837 @@
 +/*    NetBSD: m_netbsd15.c,v 1.16 2002/03/23 01:28:11 thorpej Exp     */
@@ -444,7 +444,7 @@
 +      /* if requested, sort the "interesting" processes */
 +      qsort((char *)pref, active_procs, sizeof(struct kinfo_proc2 *), 
 +          (int (*) __P((const void *, const void *)))
-+          proc_compares[compare_inddex]);
++          proc_compares[compare_index]);
 +
 +      /* remember active and total counts */
 +      si->p_total = total_procs;



Home | Main Index | Thread Index | Old Index