Print this page
Reduce lint
*** 187,197 ****
* Handle a size in percent. Anything other than a single percent
* modifier is invalid. We use either the zone's swap limit or the
* system's total available swap size as the initial value. Perform the
* intermediate calculation in pages to avoid overflow.
*/
! if (*c == '\%') {
u_longlong_t cap;
if (*(c + 1) != '\0')
return (EINVAL);
--- 187,197 ----
* Handle a size in percent. Anything other than a single percent
* modifier is invalid. We use either the zone's swap limit or the
* system's total available swap size as the initial value. Perform the
* intermediate calculation in pages to avoid overflow.
*/
! if (*c == '%') {
u_longlong_t cap;
if (*(c + 1) != '\0')
return (EINVAL);