1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00

- Use u_int instead of unsigned long for storing

vm related values returned by sysctl
- Minor style fix in preproccessor comments


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1215 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Roman Bogorodskiy 2008-07-06 09:25:28 +00:00
parent 5008a5d532
commit 67d66b03eb
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#include "freebsd.h"
#endif /* __FreeBSD__ */
#endif /* __FreeBSD__ || __FreeBSD_kernel__ */
#if defined(__OpenBSD__)
#include "openbsd.h"

View File

@ -146,7 +146,7 @@ int check_mount(char *s)
void update_meminfo()
{
unsigned long total_pages, inactive_pages, free_pages;
u_int total_pages, inactive_pages, free_pages;
unsigned long swap_avail, swap_free;
int pagesize = getpagesize();