Fix a typo that resulted in a crash in the boot sequence
This commit is contained in:
parent
d154954f02
commit
bc10cd2900
@ -1138,7 +1138,7 @@ __timespec_to_absolute(struct timespec* ts, const struct timespec* abstime, cl
|
||||
ts->tv_sec--;
|
||||
ts->tv_nsec += 1000000000;
|
||||
}
|
||||
if ((ts->tv_nsec < 0) || (ts->tv_nsec < 0))
|
||||
if ((ts->tv_nsec < 0) || (ts->tv_sec < 0))
|
||||
return -1;
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user