diff options
author | he <he@pkgsrc.org> | 2004-09-16 13:32:16 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2004-09-16 13:32:16 +0000 |
commit | 35c5b23dc80fcc0a647e1c25de5716ced4aac9b0 (patch) | |
tree | 7a4193c96b0844c71071cbe518e67df4460ef560 | |
parent | 5ba00d7a00106193204e53c8067d481a403372eb (diff) | |
download | pkgsrc-35c5b23dc80fcc0a647e1c25de5716ced4aac9b0.tar.gz |
Fix typo in m_netbsd16.c; it's compare_index, not compare_inddex.
Fixes build on netbsd-1-6.
-rw-r--r-- | sysutils/top/distinfo | 4 | ||||
-rw-r--r-- | sysutils/top/patches/patch-am | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/top/distinfo b/sysutils/top/distinfo index 98eb6440dc3..5160e73170a 100644 --- a/sysutils/top/distinfo +++ b/sysutils/top/distinfo @@ -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 --git a/sysutils/top/patches/patch-am b/sysutils/top/patches/patch-am index 194326fe09e..32cdc4f239f 100644 --- a/sysutils/top/patches/patch-am +++ b/sysutils/top/patches/patch-am @@ -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 @@ $NetBSD: patch-am,v 1.1 2004/07/12 08:14:44 cube Exp $ + /* 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; |