* Returning random stat data isn't really nice.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31010 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0714ea070a
commit
874f23496b
@ -6086,6 +6086,12 @@ common_read_stat(struct file_descriptor* descriptor, struct stat* stat)
|
||||
|
||||
FUNCTION(("common_read_stat: stat %p\n", stat));
|
||||
|
||||
// TODO: remove this once all file systems properly set them!
|
||||
stat->st_crtim.tv_nsec = 0;
|
||||
stat->st_ctim.tv_nsec = 0;
|
||||
stat->st_mtim.tv_nsec = 0;
|
||||
stat->st_atim.tv_nsec = 0;
|
||||
|
||||
status_t status = FS_CALL(vnode, read_stat, stat);
|
||||
|
||||
// fill in the st_dev and st_ino fields
|
||||
|
Loading…
Reference in New Issue
Block a user