Skip to content

Commit

Permalink
Merge pull request #1126 from uyjulian/avoid_setting_dirent_unknown
Browse files Browse the repository at this point in the history
Avoid setting unknown field of dirent
  • Loading branch information
uyjulian authored Dec 8, 2023
2 parents 7c459c8 + a286900 commit 80fa338
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 80fa338

Please sign in to comment.