rem: fd = sys_open(path, STREAM_TYPE_FILE, 0);
add: fd = sys_open(path, 0);
context: int elf_unload_kspace( const char *path ){	int fd;	int err;	void *vnode;	struct elf_image_info *image;		fd = sys_open(path, STREAM_TYPE_FILE, 0);	if(fd < 0)		return fd;	err = vfs_get_vnode_from_fd(fd, true, &vnode);	if(err < 0)		goto error0;	mutex_lock(&image_load_lock);	image = find_image_by_vnode(vnode);	if( !image ) {		dprintf( "Tried to unload image that wasn't loaded (%s)\n", path );		err = ERR_NOT_FOUND;		goto error;	}		err = elf_unload_image( image );error:	mutex_unlock(&image_load_lock);error0:	if(vnode)		vfs_put_vnode_ptr(vnode);	sys_close(fd);	return err;}