* trans/fakeroot.c (main): Use C99-style struct initialization to
initialize argp.  This avoids a warning about missing field
initializers.
---
 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


Reply via email to