netbsd ioctls - fixes