Miguel Figueiredo, le Sat 01 Jun 2013 08:44:45 +0100, a écrit :
> diff --git a/console/console.c b/console/console.c
> index 0577ea0..f598565 100644
> --- a/console/console.c
> +++ b/console/console.c
> @@ -809,10 +809,7 @@ netfs_get_dirents (struct iouser *cred, struct node *dir,
>    err = ((void *) *data == (void *) -1) ? errno : 0;
>  
>    if (! err)
> -    /* Copy out the result.  */
>      {
> -      char *p = *data;
> -

?? I see it used below: memcpy (p, &hdr, DIRENT_NAME_OFFS);

Samuel

Reply via email to