A little modify in sys_fcntl function