Bug fixes from the Valgrind oracle.

This commit is contained in:
rsc 2003-12-09 06:37:26 +00:00
parent ceb0477083
commit e95a70884b
3 changed files with 4 additions and 1 deletions

View file

@ -11,6 +11,7 @@ static int
mygetdents(int fd, struct dirent *buf, int n)
{
off_t off;
int nn;
off = p9seek(fd, 0, 1);
nn = getdirentries(fd, (void*)buf, n, &off);