commit 225ca68ad0231fb53db5e332780cf0671d237451 from: Omar Polo date: Thu Dec 16 15:44:49 2021 UTC don't account for size[2] itself in the struct stat commit - 2483be55a471524cc46605fb83bd3a8a227d7d07 commit + 225ca68ad0231fb53db5e332780cf0671d237451 blob - 64f9350bda4a74b7c5825c9e01de169d1f6a22f6 blob + 35ea35e670012b8b3c48b5f91506e57c7c9fe75a --- kamid.h +++ kamid.h @@ -153,7 +153,7 @@ struct np_msg_header { #define MAXWELEM 16 #define NPSTATSIZ(namlen, uidnam, gidnam, unam) \ - (8 + QIDSIZE + 20 + 2 + namlen + 2 + uidnam + 2 + gidnam + 2 + unam) + (6 + QIDSIZE + 20 + 2 + namlen + 2 + uidnam + 2 + gidnam + 2 + unam) /* bits in Qid.type */ #define QTDIR 0x80 /* type bit for directories */