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