summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9e5c2e9)
raw | patch | inline | side by side (parent: 9e5c2e9)
author | octo <octo> | |
Fri, 21 Apr 2006 06:47:17 +0000 (06:47 +0000) | ||
committer | octo <octo> | |
Fri, 21 Apr 2006 06:47:17 +0000 (06:47 +0000) |
src/swap.c | patch | blob | history |
diff --git a/src/swap.c b/src/swap.c
index b7fc7ed00091eddb9f4625e52b148ecf7aa0ed00..5812b59c6f626465ec9ab38a017336baf26d403b 100644 (file)
--- a/src/swap.c
+++ b/src/swap.c
{
char buffer[512];
- if (snprintf (buffer, 512, "N:%llu:%llu:%llu:%llu", swap_used,
- swap_free, swap_cached, swap_resv) >= 512)
+ if (snprintf (buffer, 512, "%u:%llu:%llu:%llu:%llu", (unsigned int) curtime,
+ swap_used, swap_free, swap_cached, swap_resv) >= 512)
return;
plugin_submit (MODULE_NAME, "-", buffer);