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:
parent
3ed66b7613
commit
dc406c4de1
2 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue