From d50a2139f9b665d148dcac2163ba3efad179d25f Mon Sep 17 00:00:00 2001 From: marschap Date: Sat, 7 Apr 2007 14:51:11 +0000 Subject: [PATCH] share definition of MAX_CPUS; fix comment typo --- clients/lcdproc/machine.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clients/lcdproc/machine.h b/clients/lcdproc/machine.h index 31f7f8e..ed2ca4b 100644 --- a/clients/lcdproc/machine.h +++ b/clients/lcdproc/machine.h @@ -20,6 +20,9 @@ # define LOADAVG_15MIN 2 #endif +#ifndef MAX_CPUS +# define MAX_CPUS 16 /**< max. # of CPUs for which we store load history */ +#endif typedef struct { @@ -83,7 +86,7 @@ typedef struct iface_info double rc_byte; double rc_byte_old; - /* transmited bytes */ + /* transmitted bytes */ double tr_byte; double tr_byte_old;