mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
Merge pull request #424 from vmauge/cpuid_default_value
Set ouput_bit to 0 instead of cast error
This commit is contained in:
commit
417bc8d222
@ -73,6 +73,7 @@ Status genVendorString(QueryData& results) {
|
||||
r["feature"] = "vendor";
|
||||
r["value"] = vendor_string.str();
|
||||
r["output_register"] = "ebx,edx,ecx";
|
||||
r["output_bit"] = "0";
|
||||
r["input_eax"] = "0";
|
||||
results.push_back(r);
|
||||
|
||||
@ -92,7 +93,7 @@ void genFamily(QueryData& results) {
|
||||
r["feature"] = "family";
|
||||
r["value"] = family_string.str();
|
||||
r["output_register"] = "eax";
|
||||
r["output_bit"] = "";
|
||||
r["output_bit"] = "0";
|
||||
r["input_eax"] = "1";
|
||||
|
||||
results.push_back(r);
|
||||
|
Loading…
Reference in New Issue
Block a user