summaryrefslogtreecommitdiff
path: root/sysutils/top/patches
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-02-06 21:41:25 +0000
committerhubertf <hubertf@pkgsrc.org>1999-02-06 21:41:25 +0000
commit1dd9d2d42a976ff29444e074a5db97c3f32ada0b (patch)
treee16155ddd5f5412336b1e1497e98aedb30eab7b8 /sysutils/top/patches
parent8edbc5f2590f9c736440b6d85c98037198d07abe (diff)
downloadpkgsrc-1dd9d2d42a976ff29444e074a5db97c3f32ada0b.tar.gz
also set seporig to NULL, per PR 6953 by Dave Huang <khym@bga.com>
Diffstat (limited to 'sysutils/top/patches')
-rw-r--r--sysutils/top/patches/patch-ab11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/top/patches/patch-ab b/sysutils/top/patches/patch-ab
index 9c3ca5bce82..3a2f1f26e40 100644
--- a/sysutils/top/patches/patch-ab
+++ b/sysutils/top/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.6 1998/10/13 20:15:38 frueauf Exp $
+$NetBSD: patch-ab,v 1.7 1999/02/06 21:41:25 hubertf Exp $
---- /dev/null Tue Oct 13 11:23:39 1998
-+++ machine/m_netbsd13.c Tue Oct 13 11:25:35 1998
-@@ -0,0 +1,881 @@
+--- machine/m_netbsd13.c.orig Sat Feb 6 22:37:29 1999
++++ machine/m_netbsd13.c Sat Feb 6 22:38:29 1999
+@@ -0,0 +1,882 @@
+/*
+ * top - a top users display for Unix
+ *
@@ -31,7 +31,7 @@ $NetBSD: patch-ab,v 1.6 1998/10/13 20:15:38 frueauf Exp $
+ * matthew green <mrg@eterna.com.au>
+ *
+ *
-+ * $Id: patch-ab,v 1.6 1998/10/13 20:15:38 frueauf Exp $
++ * $Id: patch-ab,v 1.7 1999/02/06 21:41:25 hubertf Exp $
+ */
+
+#include <sys/types.h>
@@ -383,6 +383,7 @@ $NetBSD: patch-ab,v 1.6 1998/10/13 20:15:38 frueauf Exp $
+ memory_stats[4] = memory_stats[5] = 0;
+
+ sep = NULL;
++ seporig = NULL;
+ do {
+ nswap = swapctl(SWAP_NSWAP, 0, 0);
+ if (nswap < 1)