Skip to content

Commit

Permalink
Merge pull request #49 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 184bc08 + 81cd1f4 commit 7f5f94c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion iop/net_fio.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@ int pko_read_dir(int fd, void *buf)
dirent->stat.hisize = ntohl(dirrly->hisize);
memcpy(dirent->stat.ctime, dirrly->ctime, 8 * 3);
strncpy(dirent->name, dirrly->name, 256);
dirent->unknown = 0;

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

0 comments on commit 7f5f94c

Please sign in to comment.