1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-10-03 11:01:30 +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
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

@ -368,7 +368,7 @@ static int cpuid_serialize_raw_data_internal(struct cpu_raw_data_t* single_raw,
f = !strcmp(filename, "") ? stdin : fopen(filename, "wt");
if (!f)
return set_error(ERR_OPEN);
debugf(1, "Writing RAW dump to '%s'\n", f == stdin ? "stdin" : filename);
debugf(1, "Writing raw CPUID dump to '%s'\n", f == stdin ? "stdin" : filename);
/* Write RAW data to output file */
fprintf(f, "version=%s\n", VERSION);