Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19ec8860 authored by Daisuke Okitsu's avatar Daisuke Okitsu Committed by Johan Redestig
Browse files

Sdcard: Initialize the padding output value

Add initialization of the output value in handle_write.
This value is referred to in FUSE so initialization is
necessary.

See also handle_open and handle_opendir.

Change-Id: I6507f113da9f6823fbfa459624d6594fc20afa51
parent 06279285
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1269,6 +1269,7 @@ static int handle_write(struct fuse* fuse, struct fuse_handler* handler,
        return -errno;
    }
    out.size = res;
    out.padding = 0;
    fuse_reply(fuse, hdr->unique, &out, sizeof(out));
    return NO_STATUS;
}