mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
parent
31d7b3eb97
commit
6505ce47ae
@ -128,6 +128,7 @@ static void vfs_stat_to_libc_stat_struct(Vfs::Directory_service::Stat const &src
|
||||
dst->st_dev = src.device;
|
||||
long long mtime = src.modification_time.value;
|
||||
dst->st_mtime = mtime != Vfs::Timestamp::INVALID ? mtime : 0;
|
||||
dst->st_nlink = 1;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user