vfs: default constructor for Dirent and Stat

Fixes #1743
This commit is contained in:
Christian Helmuth
2016-06-22 15:38:42 +02:00
parent 0a01edded2
commit d8c34237bf
9 changed files with 64 additions and 24 deletions

View File

@ -70,7 +70,7 @@ class Vfs::Single_file_system : public File_system
Stat_result stat(char const *path, Stat &out) override
{
out = { 0, 0, 0, 0, 0, 0 };
out = Stat();
out.device = (Genode::addr_t)this;
if (_root(path)) {