diff --git a/conts/posix/bootdesc/SConscript b/conts/posix/bootdesc/SConscript index 42bff1a..230397f 100644 --- a/conts/posix/bootdesc/SConscript +++ b/conts/posix/bootdesc/SConscript @@ -11,6 +11,7 @@ from os.path import * Import('config', 'environment', 'images') e = environment.Clone() +e.Replace(PROGSUFFIX = '') e.Append(LINKFLAGS = ['-T' + e['bootdesc_dir'] + '/linker.lds']) #e.Append(LINKFLAGS = ['-T' + '/linker.lds']) diff --git a/conts/posix/libposix/stat.c b/conts/posix/libposix/stat.c index 34e98cb..1ba5c0e 100644 --- a/conts/posix/libposix/stat.c +++ b/conts/posix/libposix/stat.c @@ -57,6 +57,8 @@ int kstat_to_stat(struct kstat *ks, struct stat *s) s->st_atime = ks->atime; s->st_mtime = ks->mtime; s->st_ctime = ks->ctime; + + return 0; } static inline int l4_stat(const char *pathname, void *buffer)