diff options
Diffstat (limited to 'src/lib9pclient/wstat.c')
-rw-r--r-- | src/lib9pclient/wstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib9pclient/wstat.c b/src/lib9pclient/wstat.c index cc193d25..26e44f8e 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 = sizeD2Mu(d, fid->fs->dotu); + n = sizeD2M(d); a = malloc(n); if(a == nil) return -1; - nn = convD2Mu(d, a, n, fid->fs->dotu); + nn = convD2M(d, a, n); if(n != nn){ werrstr("convD2M and sizeD2M disagree"); free(a); |