am bc10cd29: Fix a typo that resulted in a crash in the boot sequence
Merge commit 'bc10cd2900cdb7fed077163b6a33e0f8572b2b19' into eclair-plus-aosp * commit 'bc10cd2900cdb7fed077163b6a33e0f8572b2b19': Fix a typo that resulted in a crash in the boot sequence
This commit is contained in:
commit
7e5e9f4270
@ -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…
x
Reference in New Issue
Block a user