Skip to content

Commit

Permalink
Avoid setting unknown field of dirent
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Dec 8, 2023
1 parent 7c459c8 commit a286900
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/debug/ps2link/net_fio.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,6 @@ int pko_read_dir(int fd, void *buf)
memcpy(dirent->stat.atime, dirrly->atime, 8);
memcpy(dirent->stat.mtime, dirrly->mtime, 8);
strncpy(dirent->name, dirrly->name, 256);
dirent->unknown = 0;

return ntohl(dirrly->retval);
}
Expand Down

0 comments on commit a286900

Please sign in to comment.