* Both, rootfs, and devfs did not correctly report the number of entries

returned by fs_read_dir().
* Removed superfluous white space.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26338 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-07-09 10:59:02 +00:00
parent fe3d5b3083
commit 6ad2f357dc
2 changed files with 8 additions and 6 deletions

View File

@ -1427,6 +1427,7 @@ devfs_read_dir(fs_volume *_volume, fs_vnode *_vnode, void *_cookie,
cookie->current = nextChildNode;
cookie->state = nextState;
*_num = 1;
return B_OK;
}

View File

@ -767,6 +767,7 @@ rootfs_read_dir(fs_volume *_volume, fs_vnode *_vnode, void *_cookie,
cookie->current = nextChildNode;
cookie->state = nextState;
*_num = 1;
status = B_OK;
err: