From 6139fc7c18c4e613ae96aae51c05ee68aab074b5 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 12 May 2005 00:49:05 +0000 Subject: [PATCH] fixup SIGAR_TICK2SEC macro --- include/sigar_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sigar_private.h b/include/sigar_private.h index ae49df71..f64baf2f 100644 --- a/include/sigar_private.h +++ b/include/sigar_private.h @@ -64,7 +64,7 @@ ((sigar_uint64_t)(s) * (sigar_uint64_t)1000000000) /* cpu ticks to seconds */ -#define SIGAR_TICK2SEC(s) (s / sigar->ticks) +#define SIGAR_TICK2SEC(s) ((s) / sigar->ticks) #define SIGAR_LAST_PROC_EXPIRE 2