|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.74, 2002/11/27 03:36:04 | version 1.75, 2002/11/27 04:07:42 | ||
|---|---|---|---|
|
|
||
| goto bad; | goto bad; | ||
| } | } | ||
| tv = mtod(m, struct timeval *); | tv = mtod(m, struct timeval *); | ||
| if (tv->tv_sec * hz + tv->tv_usec / tick > SHRT_MAX) { | if (tv->tv_sec > (SHRT_MAX - tv->tv_usec / tick) / hz) { | ||
| error = EDOM; | error = EDOM; | ||
| goto bad; | goto bad; | ||
| } | } |