fixup SIGAR_TICK2SEC macro

This commit is contained in:
Doug MacEachern 2005-05-12 00:49:05 +00:00
parent 7dbdd9724a
commit 6139fc7c18
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
((sigar_uint64_t)(s) * (sigar_uint64_t)1000000000) ((sigar_uint64_t)(s) * (sigar_uint64_t)1000000000)
/* cpu ticks to seconds */ /* cpu ticks to seconds */
#define SIGAR_TICK2SEC(s) (s / sigar->ticks) #define SIGAR_TICK2SEC(s) ((s) / sigar->ticks)
#define SIGAR_LAST_PROC_EXPIRE 2 #define SIGAR_LAST_PROC_EXPIRE 2