correct error code for lseek on pipes/sockets; in-line expand