mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Fix style bug.
Prompted by: bde
This commit is contained in:
parent
f8ccc6ceb9
commit
c3d78136c9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154011
@ -2738,8 +2738,8 @@ getutimes(usrtvp, tvpseg, tsp)
|
||||
tvp = tv;
|
||||
}
|
||||
|
||||
if (tvp[0].tv_usec < 0 || tvp[0].tv_usec > 999999 ||
|
||||
tvp[1].tv_usec < 0 || tvp[1].tv_usec > 999999)
|
||||
if (tvp[0].tv_usec < 0 || tvp[0].tv_usec >= 1000000 ||
|
||||
tvp[1].tv_usec < 0 || tvp[1].tv_usec >= 1000000)
|
||||
return (EINVAL);
|
||||
TIMEVAL_TO_TIMESPEC(&tvp[0], &tsp[0]);
|
||||
TIMEVAL_TO_TIMESPEC(&tvp[1], &tsp[1]);
|
||||
|
@ -2738,8 +2738,8 @@ getutimes(usrtvp, tvpseg, tsp)
|
||||
tvp = tv;
|
||||
}
|
||||
|
||||
if (tvp[0].tv_usec < 0 || tvp[0].tv_usec > 999999 ||
|
||||
tvp[1].tv_usec < 0 || tvp[1].tv_usec > 999999)
|
||||
if (tvp[0].tv_usec < 0 || tvp[0].tv_usec >= 1000000 ||
|
||||
tvp[1].tv_usec < 0 || tvp[1].tv_usec >= 1000000)
|
||||
return (EINVAL);
|
||||
TIMEVAL_TO_TIMESPEC(&tvp[0], &tsp[0]);
|
||||
TIMEVAL_TO_TIMESPEC(&tvp[1], &tsp[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user