FreeCalypso > hg > freecalypso-tools
changeset 707:805885936f62
tiffs-mkfs: fixed bug in location inode field
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 20 May 2020 17:32:35 +0000 |
parents | 850bf712c1fc |
children | e2e4aed24522 |
files | ffstools/tiffs-mkfs/output.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ffstools/tiffs-mkfs/output.c Wed May 20 06:57:01 2020 +0000 +++ b/ffstools/tiffs-mkfs/output.c Wed May 20 17:32:35 2020 +0000 @@ -115,7 +115,7 @@ /* fill the inode */ inp->size = htole16(size); inp->type = type; - inp->location = htole32(location); + inp->location = htole32(location >> 4); inp->sequence = htole16(ino - 1); inp->updates = 0; /* accounting */