summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trans/null.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/trans/null.c b/trans/null.c
index 38d0053e..9982481c 100644
--- a/trans/null.c
+++ b/trans/null.c
@@ -101,7 +101,9 @@ int trivfs_cntl_nporttypes = 1;
void
trivfs_modify_stat (struct stat *st)
{
- st->st_blksize = 1;
+ st->st_blksize = vm_page_size;
+
+ st->st_fstype = FSTYPE_DEV;
st->st_size = 0;
st->st_blocks = 0;