HardenedBSD/sbin/swapon
Don Lewis 1bf6738f80 Fix a logic bug in error handling code. It is an error if p == NULL.
The linelen tests are only meaningful when p != NULL.

Reported by:	Coverity
Coverity CID:	1368655
MFC after:	1 month
2019-12-09 07:18:40 +00:00
..
Makefile
Makefile.depend
swapon.8 swap_pager.c reserves 2 blocks for a bsd label. Change that 2 to the 2019-08-15 02:30:44 +00:00
swapon.c Fix a logic bug in error handling code. It is an error if p == NULL. 2019-12-09 07:18:40 +00:00