Use macro MAX() from sys/param.h.

MFC after:	2 weeks.
This commit is contained in:
Marcelo Araujo 2016-04-22 03:55:33 +00:00
parent ee03c16e64
commit 5d6026c25e
1 changed files with 1 additions and 1 deletions

View File

@ -2986,7 +2986,7 @@ pnpgets(char *buf)
connect_idle:
/* we may still have something in the buffer */
return ((i > 0) ? i : 0);
return (MAX(i, 0));
}
static int