LD-83 Fix open file and ioctl device