diff --git a/repos/os/include/vfs/terminal_file_system.h b/repos/os/include/vfs/terminal_file_system.h
index a9c2a88cb..72f37d9ba 100644
--- a/repos/os/include/vfs/terminal_file_system.h
+++ b/repos/os/include/vfs/terminal_file_system.h
@@ -84,6 +84,11 @@ class Vfs::Terminal_file_system : public Single_file_system
return READ_OK;
}
+ Ftruncate_result ftruncate(Vfs_handle *vfs_handle, size_t) override
+ {
+ return FTRUNCATE_OK;
+ }
+
bool check_unblock(Vfs_handle *vfs_handle, bool rd, bool wr, bool ex) override
{
if (rd && (_terminal.avail() > 0))
diff --git a/repos/ports/run/noux_terminal_fs.run b/repos/ports/run/noux_terminal_fs.run
index 838dec38f..394c750cb 100644
--- a/repos/ports/run/noux_terminal_fs.run
+++ b/repos/ports/run/noux_terminal_fs.run
@@ -157,7 +157,7 @@ append config {