Skip to content

Commit

Permalink
Merge pull request #119 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 0a554e8 + 293f00f commit 97d4894
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ps2host/net_fio.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,6 @@ int pko_read_dir(int fd, void *buf)
memcpy(dirent->stat.mtime, dirrly->mtime, 8);
memcpy(dirent->name, dirrly->name, 256);
dirent->name[sizeof(dirent->name) - 1] = 0;
dirent->unknown = 0;

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

0 comments on commit 97d4894

Please sign in to comment.