fix ioctl definition