Bug fixes from the Valgrind oracle.
This commit is contained in:
parent
ceb0477083
commit
e95a70884b
3 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue