diff --git a/client/hostinfo_unix.C b/client/hostinfo_unix.C index 51500a79f9..1b919a4e58 100644 --- a/client/hostinfo_unix.C +++ b/client/hostinfo_unix.C @@ -373,7 +373,8 @@ void parse_cpuinfo(HOST_INFO& host) { // void parse_cpuinfo(HOST_INFO& host) { char buf[256]; - int system_found=0,model_found=0,cache_found=0;flags_found=0; + char buf2[256]; + int system_found=0,model_found=0,cache_found=0,flags_found=0; int n; FILE* f = fopen("/proc/cpuinfo", "r");