added `locked' member to this structure for SunOS.

* include/glibtop/mem.h (_glibtop_mem): added `locked'
member to this structure for SunOS.
This commit is contained in:
Martin Baulig
1998-05-24 16:15:24 +00:00
parent b281735ba7
commit ff3aced01e
4 changed files with 13 additions and 8 deletions

View File

@@ -49,10 +49,10 @@ main (int argc, char *argv [])
glibtop_get_mem (&data.mem);
fprintf (stderr, "Memory (0x%08lx): %lu, %lu, %lu, %lu, %lu, %lu, %lu\n",
fprintf (stderr, "Memory (0x%08lx): %lu, %lu, %lu, %lu, %lu, %lu, %lu, %lu\n",
data.mem.flags, data.mem.total, data.mem.used, data.mem.free,
data.mem.shared, data.mem.buffer, data.mem.cached,
data.mem.user);
data.mem.user, data.mem.locked);
glibtop_get_swap (&data.swap);