Coverity CID: 1087993, 1087992 Approved by: re (marius) Sponsored by: FreeBSD Foundation
Reviewed by: ken (parts) Approved by: re (delphij) Sponsored by: FreeBSD Foundation