This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix p{readv,writev}{64} consolidation implementation
- From: Pedro Alves <palves at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, libc-alpha at sourceware dot org
- Date: Wed, 15 Jun 2016 13:59:56 +0100
- Subject: Re: [PATCH] Fix p{readv,writev}{64} consolidation implementation
- Authentication-results: sourceware.org; auth=none
- References: <1465941275-3459-1-git-send-email-adhemerval dot zanella at linaro dot org>
On 06/14/2016 10:54 PM, Adhemerval Zanella wrote:
> +
> + char buf1[32];
> + char buf2[64];
> +
> + memset (buf1, 0x00, sizeof buf1);
> + memset (buf1, 0xca, sizeof buf1);
> +
Did you mean to memset buf2 in the second memset call?
Thanks,
Pedro Alves