You should be able to just run
clang-format
over your edited code and that should reformat it to make the format checker happy.
I figured it out afterwards 😅
There are some function calls (
close()
for example) between testing theerrno
value and printing out the log line. These functions might reseterrno
to something else. You should either reorder the code so that the log printing happens immediately after testingerrno
, or save the value to an intermediary variable and then print that.
I'll fix.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.