The last parameter of file_cache_create() is a file descriptor, not an open mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8868 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
cfd8ea7832
commit
7f0c6086a4
@ -14,7 +14,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/* file cache */
|
||||
extern void *file_cache_create(mount_id mountID, vnode_id vnodeID, off_t size, int openMode);
|
||||
extern void *file_cache_create(mount_id mountID, vnode_id vnodeID, off_t size, int fd);
|
||||
extern void file_cache_delete(void *_cacheRef);
|
||||
extern status_t file_cache_set_size(void *_cacheRef, off_t size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user