diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index bff6e67d5..7e65a68c4 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c @@ -972,6 +972,8 @@ static int handle_opendir(struct fuse* fuse, struct fuse_handler* handler, return -errno; } out.fh = ptr_to_id(h); + out.open_flags = 0; + out.padding = 0; fuse_reply(fuse, hdr->unique, &out, sizeof(out)); return NO_STATUS; }