mitsu9550: Fix a boneheaded memcpy().

This commit is contained in:
Solomon Peachy 2016-10-23 13:56:59 -04:00
parent b0b5f7d461
commit d528e23971
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ hdr_done:
planelen *= 2;
/* Copy plane header into buffer */
memcpy(ctx->databuf, buf, sizeof(buf));
memcpy(ctx->databuf + ctx->datalen, buf, sizeof(buf));
ctx->datalen += sizeof(buf);
planelen -= sizeof(buf) - sizeof(struct mitsu9550_plane);