* 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:
parent
fe3d5b3083
commit
6ad2f357dc
@ -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;
|
||||
}
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user