summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/file-get-trans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/file-get-trans.c b/libdiskfs/file-get-trans.c
index 47bc2f89..485420e3 100644
--- a/libdiskfs/file-get-trans.c
+++ b/libdiskfs/file-get-trans.c
@@ -51,6 +51,7 @@ diskfs_S_file_get_translator (struct protid *cred,
{
assert (amt == np->dn_stat.st_size);
(*trans)[sizeof _HURD_SYMLINK + np->dn_stat.st_size] = '\0';
+ *translen = len;
}
}
/* XXX should also do IFCHR, IFBLK, IFIFO, and IFSOCK here. */