Skip to content

Commit 06ed01d

Browse files
authored
fix format
1 parent 4e9f306 commit 06ed01d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,16 @@ bool ExecuteCommand(const Command &Cmd, std::string *CmdOutput) {
104104
}
105105

106106
void SetTimer(int Seconds) {
107-
timer_t timerid;
107+
timer_t TimerId;
108108
struct itimerspec T {
109-
{Seconds, 0}, { Seconds, 0 }
109+
{ Seconds, 0 }, { Seconds, 0 }
110110
};
111111
SetSigaction(SIGALRM, AlarmHandler);
112-
if (timer_create(CLOCK_REALTIME, nullptr, &timerid) == -1) {
112+
if (timer_create(CLOCK_REALTIME, nullptr, &TimerId) == -1) {
113113
Printf("libFuzzer: timer_create failed with %d\n", errno);
114114
exit(1);
115115
}
116-
if (timer_settime(timerid, 0, &T, nullptr) == -1) {
116+
if (timer_settime(TimerId, 0, &T, nullptr) == -1) {
117117
Printf("libFuzzer: timer_settime failed with %d\n", errno);
118118
exit(1);
119119
}

0 commit comments

Comments
 (0)