bb6099 - check return value of lseek()