bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] trans/fakeroot: use C99-style struct initialization


From: Samuel Thibault
Subject: Re: [PATCH 3/4] trans/fakeroot: use C99-style struct initialization
Date: Sat, 17 May 2014 01:14:11 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Fri 16 May 2014 18:56:26 +0200, a écrit :
> * trans/fakeroot.c (main): Use C99-style struct initialization to
> initialize argp.  This avoids a warning about missing field
> initializers.

Ack.

> ---
>  trans/fakeroot.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/trans/fakeroot.c b/trans/fakeroot.c
> index 3107e29..c4b95de 100644
> --- a/trans/fakeroot.c
> +++ b/trans/fakeroot.c
> @@ -993,7 +993,7 @@ main (int argc, char **argv)
>    error_t err;
>    mach_port_t bootstrap;
>  
> -  struct argp argp = { NULL, NULL, NULL, "\
> +  struct argp argp = { .doc = "\
>  A translator for faking privileged access to an underlying filesystem.\v\
>  This translator appears to give transparent access to the underlying \
>  directory node.  However, all accesses are made using the credentials \
> -- 
> 2.0.0.rc0
> 

-- 
Samuel
$ du temp.iso 
2,0T    temp.iso
$ ls temp.iso -l
-r-xr-xr-x    1 samy     thibault      16E 2003-03-22 14:44 temp.iso*
 -+- je vous dirai pas la marque de mon disque dur, na :p -+- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]