#include <time.h>
typedef unsigned long long ullong;
-typedef unsigned long ulong;
enum { proc_file_size = 4096 };
// but allows us to allocate only once (at first sample)
// per proc file, and reuse buffer for each sample
if (!pf->file)
- pf->file = (char*)xmalloc(proc_file_size);
+ pf->file = xmalloc(proc_file_size);
readfile_z(pf->file, proc_file_size, pf->name);
}
return pf->file;
}
m_free += m_bufs + m_cached + m_slab;
- switch(s->opt) {
+ switch (s->opt) {
case 'f':
scale(m_free << 10); break;
default: