Uh. I don't believe you don't have fstat. What was the actual complaint? What he meant to say was, "I replaced fstat with stat in a couple of modules because the code was obviously wrong." I can't find AFSDIR_BOZLOG_FILE but the following line calls strcpy on it, so I assume it's a string. fstat takes a fd, stat takes a string.