1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-07-02 14:04:15 +00:00

Do not print the same message twice when reading a raw CPUID dump

This commit is contained in:
Xorg 2022-09-23 18:44:11 +02:00
parent 3ed66b7613
commit dc406c4de1
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
2 changed files with 1 additions and 3 deletions

View file

@ -692,8 +692,6 @@ int main(int argc, char** argv)
/* Need to dump raw CPUID data to file: */
if (need_output) {
if (verbose_level >= 1)
printf("Writing raw CPUID dump to `%s'\n", raw_data_file);
if (!strcmp(raw_data_file, "-"))
/* Serialize to stdout */
writeres = cpuid_serialize_all_raw_data(&raw_array, "");