return(-errno); 
return err; 
static int pts_open(int input, int output, int primary, void *d,		    char **dev_out){	struct pty_chan *data = d;	char *dev;	int fd, err;	fd = get_pty();	if(fd < 0){		printk("open_pts : Failed to open pts\n");		return(-errno);	}	if(data->raw){		CATCH_EINTR(err = tcgetattr(fd, &data->tt));		if(err)			return(err);		err = raw(fd);		if(err)			return(err);	}	dev = ptsname(fd);	sprintf(data->dev_name, "%s", dev);	*dev_out = data->dev_name;	if (data->announce)		(*data->announce)(dev, data->dev);	return(fd);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b4fd310e163477236a241580b3b8c29aee65f4cc/pty.c/buggy/arch/um/drivers/pty.c