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:
parent
5008a5d532
commit
67d66b03eb
@ -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"
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user