rem: dirent->d_reclen = strlen(cookie->u.dir.ptr->name);
add: dirent->d_reclen = strlen(cookie->u.dir.ptr->name) + sizeof(struct dirent);
context: bootfs_read_dir(fs_volume _fs, fs_vnode _vnode, fs_cookie _cookie, struct dirent *dirent, size_t bufferSize, uint32 *_num){	struct bootfs_cookie *cookie = _cookie;	struct bootfs *fs = _fs;	status_t status;	TRACE(("bootfs_read_dir(fs_volume = %p vnode = %p, fs_cookie = %p, buffer = %p, bufferSize = %ld, num = %ld)\n",_fs, _vnode, cookie, dirent, bufferSize, *_num));	mutex_lock(&fs->lock);	if (cookie->u.dir.ptr == NULL) {		*_num = 0;		status = ENOENT;		goto err;	}	dirent->d_dev = fs->id;	dirent->d_ino = cookie->u.dir.ptr->id;	dirent->d_reclen = strlen(cookie->u.dir.ptr->name);	if (sizeof(struct dirent) + dirent->d_reclen + 1 > bufferSize) {		status = ENOBUFS;		goto err;	}	status = user_strcpy(dirent->d_name, cookie->u.dir.ptr->name);	if (status < B_OK)		goto err;	cookie->u.dir.ptr = cookie->u.dir.ptr->dir_next;err:	mutex_unlock(&fs->lock);	return status;}