diff options
Diffstat (limited to 'hardware.c')
-rw-r--r-- | hardware.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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]; |