aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xsysinfo
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-09-05 20:31:29 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-09-05 20:31:29 +0000
commit38c2bfe048a74419405c5b7926ee7964abfb24ca (patch)
tree7a15a38e4e2bf7149fe7fa4f27bbd3976d35c8e7 /sysutils/xsysinfo
parent89e76a8e0f3e7fe79daba28b2141c469a7e8bafb (diff)
downloadports-38c2bfe048a74419405c5b7926ee7964abfb24ca.tar.gz
ports-38c2bfe048a74419405c5b7926ee7964abfb24ca.zip
Notes
Diffstat (limited to 'sysutils/xsysinfo')
-rw-r--r--sysutils/xsysinfo/files/patch-sysinfo.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/sysutils/xsysinfo/files/patch-sysinfo.c b/sysutils/xsysinfo/files/patch-sysinfo.c
index 57e4d56cc592..2f43feef922a 100644
--- a/sysutils/xsysinfo/files/patch-sysinfo.c
+++ b/sysutils/xsysinfo/files/patch-sysinfo.c
@@ -1,5 +1,8 @@
---- sysinfo.c.orig Tue Oct 6 22:21:18 1998
-+++ sysinfo.c Mon Oct 27 15:28:22 2003
+
+$FreeBSD$
+
+--- sysinfo.c.orig Tue Oct 6 16:21:18 1998
++++ sysinfo.c Sun Sep 5 22:30:23 2004
@@ -13,7 +13,9 @@
#include <sys/ioctl_compat.h> /* XXX NTTYDISC is too well hidden */
#include <sys/tty.h>
@@ -151,6 +154,15 @@
}
scale_bar(250, nfsStats.nfsClient-old_nfsStats.nfsClient, 25, states, 0);
draw_bar(nfsflag-1, states, 10);
+@@ -428,7 +497,7 @@
+ }
+ nfs_out:
+
+-}
++;}
+
+
+ /* swapmode is derived from freebsd's pstat source ...
@@ -438,6 +507,21 @@
void
swapmode(int *used, int *avail)