check iotcl error