aboutsummaryrefslogtreecommitdiff
path: root/src/lib9pclient/wstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9pclient/wstat.c')
-rw-r--r--src/lib9pclient/wstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib9pclient/wstat.c b/src/lib9pclient/wstat.c
index 26e44f8e..cc193d25 100644
--- a/src/lib9pclient/wstat.c
+++ b/src/lib9pclient/wstat.c
@@ -28,11 +28,11 @@ fsdirfwstat(CFid *fid, Dir *d)
int n, nn;
Fcall tx, rx;
- n = sizeD2M(d);
+ n = sizeD2Mu(d, fid->fs->dotu);
a = malloc(n);
if(a == nil)
return -1;
- nn = convD2M(d, a, n);
+ nn = convD2Mu(d, a, n, fid->fs->dotu);
if(n != nn){
werrstr("convD2M and sizeD2M disagree");
free(a);