Avnu / tsn-doc

Documentation on TSN Linux components, interfaces and usage
BSD 3-Clause "New" or "Revised" License
40 stars 20 forks source link

Fix verbose of check_clocks for 32 bit systems #35

Open koalo opened 1 year ago

koalo commented 1 year ago

On 32 bit systems uint64_t is long long unsigned int and thus requires %llu in printf to prevent garbled output. Use PRIu64/PRId64 to handle this correctly for both 32 bit and 64 bit systems.

Furthermore, removed err that was never used.

vcgomes commented 1 year ago

Sorry for the delay. Really minor optional suggestion, would you mind putting the "remove err" bit on a separate commit?

koalo commented 1 year ago

No Problem, I will do that shortly

koalo commented 1 year ago

I've splitted the commit now as requested