fix debug log

This commit is contained in:
Doug MacEachern 2006-02-24 03:12:59 +00:00
parent 1affb0ba73
commit 58435e27ab
1 changed files with 4 additions and 2 deletions

View File

@ -229,10 +229,12 @@ static int is_ht_enabled(sigar_t *sigar)
"[cpu] HT supported, not enabled."); "[cpu] HT supported, not enabled.");
} }
} }
else {
sigar_log(sigar, SIGAR_LOG_DEBUG,
"[cpu] HT not supported.");
}
} }
else { else {
sigar_log(sigar, SIGAR_LOG_DEBUG,
"[cpu] HT not supported.");
sigar->lcpu = 1; sigar->lcpu = 1;
} }