if(ioctl(fd, SIOCSIFENCAP, &sencap) < 0){ printk("Failed to set slip encapsulation - " "errno = %d\n", errno); return(-errno); } 
if(ioctl(fd, SIOCSIFENCAP, &sencap) < 0) return -errno; 
int os_set_slip(int fd){	int disc, sencap;	disc = N_SLIP;	if(ioctl(fd, TIOCSETD, &disc) < 0){		printk("Failed to set slip line discipline - "		       "errno = %d\n", errno);		return(-errno);	}	sencap = 0;	if(ioctl(fd, SIOCSIFENCAP, &sencap) < 0){		printk("Failed to set slip encapsulation - "		       "errno = %d\n", errno);		return(-errno);	}	return(0);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b4fd310e163477236a241580b3b8c29aee65f4cc/file.c/buggy/arch/um/os-Linux/file.c