From 293f00fea808c2a47e75e29a86746a73e3fd4bbc Mon Sep 17 00:00:00 2001 From: Julian Uy Date: Fri, 8 Dec 2023 15:36:51 +0000 Subject: [PATCH] Avoid setting unknown field of dirent --- ps2host/net_fio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ps2host/net_fio.c b/ps2host/net_fio.c index 0d91c9cd..4814903e 100644 --- a/ps2host/net_fio.c +++ b/ps2host/net_fio.c @@ -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); }