Fix missing build flags. Patch from Julio Merino. Fixes bug #103086. Fix

2003-06-10  Kjartan Maraas  <set EMAIL_ADDRESS environment variable>

	* libgtop-2.0.pc.in: Fix missing build flags. Patch from
	Julio Merino. Fixes bug #103086.
	* sysdeps/linux/mem.c: (glibtop_get_mem_s): Fix memory calculation
	under Linux. Patch from <rwahl@gmx.de>. Fixes bug #68626.

2003-06-10  Kjartan Maraas  <kmaraas@gnome.org>
This commit is contained in:
Kjartan Maraas
2003-06-10 17:09:39 +00:00
committed by Kjartan Maraas
parent 36ba38cdc4
commit 68cebe2aaf
3 changed files with 9 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ glibtop_get_mem_s (glibtop *server, glibtop_mem *buf)
buf->buffer = strtoul (p, &p, 0);
buf->cached = strtoul (p, &p, 0);
buf->user = buf->total - buf->free - buf->shared - buf->buffer;
buf->user = buf->total - buf->free - buf->cached - buf->buffer;
buf->flags = _glibtop_sysdeps_mem;
}