if (sock < 0){ printk("create_unix_socket - socket failed, errno = %d\n", errno); return(-errno); } 
if(sock < 0) return -errno; 
int os_create_unix_socket(char *file, int len, int close_on_exec){	struct sockaddr_un addr;	int sock, err;	sock = socket(PF_UNIX, SOCK_DGRAM, 0);	if (sock < 0){		printk("create_unix_socket - socket failed, errno = %d\n",		       errno);		return(-errno);	}	if(close_on_exec) {		err = os_set_exec_close(sock, 1);		if(err < 0)			printk("create_unix_socket : close_on_exec failed, "		       "err = %d", -err);	}	addr.sun_family = AF_UNIX;	/* XXX Be more careful about overflow */	snprintf(addr.sun_path, len, "%s", file);	err = bind(sock, (struct sockaddr *) &addr, sizeof(addr));	if (err < 0){		printk("create_listening_socket at '%s' - bind failed, "		       "errno = %d\n", file, errno);		return(-errno);	}	return(sock);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b4fd310e163477236a241580b3b8c29aee65f4cc/file.c/buggy/arch/um/os-Linux/file.c