mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Cosmetique: correct English in comments
Pointed by: bde
This commit is contained in:
parent
6c3f4fef64
commit
6d24c65d96
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82195
@ -123,7 +123,7 @@ lf_advlock(ap, head, size)
|
||||
break;
|
||||
|
||||
case SEEK_END:
|
||||
/* size always >= 0 */
|
||||
/* 'size' is always >= 0 */
|
||||
if (fl->l_start > 0 && size > OFF_MAX - fl->l_start)
|
||||
return (EOVERFLOW);
|
||||
start = size + fl->l_start;
|
||||
@ -139,7 +139,7 @@ lf_advlock(ap, head, size)
|
||||
else {
|
||||
off_t oadd = fl->l_len - 1;
|
||||
|
||||
/* fl->l_len & start are non-negative */
|
||||
/* 'oadd' and 'start' are >= 0 */
|
||||
if (oadd > OFF_MAX - start)
|
||||
return (EOVERFLOW);
|
||||
end = start + oadd;
|
||||
|
Loading…
Reference in New Issue
Block a user