aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-05-15 15:52:11 +0800
committergahr <gahr@FreeBSD.org>2013-05-15 15:52:11 +0800
commite3f3bcfdca156fdc90c6e9889eb5fda7f322c782 (patch)
tree35c36b20512f91327afaeb66a7a043d1ebbcc39a /x11-wm
parent7c48986b93a921553a72e62d06a3f96983338c5e (diff)
downloadfreebsd-ports-gnome-e3f3bcfdca156fdc90c6e9889eb5fda7f322c782.tar.gz
freebsd-ports-gnome-e3f3bcfdca156fdc90c6e9889eb5fda7f322c782.tar.zst
freebsd-ports-gnome-e3f3bcfdca156fdc90c6e9889eb5fda7f322c782.zip
- Remove debug printf introduced in my last commit
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/epplets/files/patch-epplets_E-MemWatch.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/x11-wm/epplets/files/patch-epplets_E-MemWatch.c b/x11-wm/epplets/files/patch-epplets_E-MemWatch.c
index 624b73e394cb..e8cb1adddae9 100644
--- a/x11-wm/epplets/files/patch-epplets_E-MemWatch.c
+++ b/x11-wm/epplets/files/patch-epplets_E-MemWatch.c
@@ -1,5 +1,5 @@
--- epplets/E-MemWatch.c.orig 2012-09-30 11:38:35.000000000 +0200
-+++ epplets/E-MemWatch.c 2013-05-14 18:17:45.000000000 +0200
++++ epplets/E-MemWatch.c 2013-05-15 09:51:28.000000000 +0200
@@ -1,5 +1,6 @@
/*
* Copyright (C) 1999-2000, Michael Jennings
@@ -80,7 +80,7 @@
if (kernel_2_6)
{
-@@ -174,8 +194,23 @@
+@@ -174,8 +194,22 @@
}
fclose(fp);
@@ -102,11 +102,10 @@
+ }
+#endif
+ swap_val = 100. * used / total;
-+ printf ("swap_val: %d\n", swap_val);
/*printf ("Swap: %lu %lu %d%%\n", total, used, swap_val); */
-@@ -273,6 +308,7 @@
+@@ -273,6 +307,7 @@
{
int prio;
@@ -114,7 +113,7 @@
/* check for Kernel 2.6 */
FILE *fp;
-@@ -295,6 +331,7 @@
+@@ -295,6 +330,7 @@
fclose(fp);
/* end check for Kernel 2.6 */