summaryrefslogtreecommitdiff
path: root/hardware.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardware.c')
-rw-r--r--hardware.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hardware.c b/hardware.c
index d2f32f6..2508bf8 100644
--- a/hardware.c
+++ b/hardware.c
@@ -145,6 +145,8 @@ static void readProcCpuInfo (char *model, char *cache) {
** Reads /proc/cpuinfo if on a linux system
** Writes output
*/
+#define BUF_SIZ 1024
+
void hardware(void) {
char os[BUF_SIZ];
char model[BUF_SIZ];