Fix a typo that resulted in a crash in the boot sequence

This commit is contained in:
David 'Digit' Turner 2009-09-23 15:56:50 -07:00
parent d154954f02
commit bc10cd2900

View File

@ -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;