FreeCalypso > hg > freecalypso-tools
diff ffstools/tiffs-mkfs/output.c @ 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 | 12ae93940467 |
children | e2e4aed24522 |
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 */