diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index 44274153c..7349b2241 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c @@ -1321,6 +1321,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; }