From 1dd9d2d42a976ff29444e074a5db97c3f32ada0b Mon Sep 17 00:00:00 2001 From: hubertf Date: Sat, 6 Feb 1999 21:41:25 +0000 Subject: also set seporig to NULL, per PR 6953 by Dave Huang --- sysutils/top/patches/patch-ab | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'sysutils/top') 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 + * + * -+ * $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 @@ -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) -- cgit v1.2.3