diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-12-11 14:19:04 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-12-11 14:19:04 +0100 |
commit | 91f72566c65c857cf678484569630f030e6ce3e2 (patch) | |
tree | d9c15534d8643be568dc52c5e2c88ef1f92b5602 | |
parent | b1b2a4ac9cbe0675c0d3b583b20de6c25275a323 (diff) |
paqfs: fix wrong block type in readdir() (from sources)
-rw-r--r-- | sys/src/cmd/paqfs/paqfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/paqfs/paqfs.c b/sys/src/cmd/paqfs/paqfs.c index b2713682b..6769326f9 100644 --- a/sys/src/cmd/paqfs/paqfs.c +++ b/sys/src/cmd/paqfs/paqfs.c @@ -492,7 +492,7 @@ readdir(Fid *f) off = 0; i++; blockFree(b); - b = blockLoad(getl(ptr->data + i*4), DataBlock); + b = blockLoad(getl(ptr->data + i*4), DirBlock); } } f->offset = i*blocksize + off; |