Fixing signature for ioctl

It uses unsigned long.