commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 41/61: trans/fakeroot: use C99-style struct initialization


From: Samuel Thibault
Subject: [hurd] 41/61: trans/fakeroot: use C99-style struct initialization
Date: Tue, 27 May 2014 08:32:13 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 820241ead7e31082fa99f3e756c6aa73aae7d88b
Author: Justus Winter <address@hidden>
Date:   Fri May 16 13:15:03 2014 +0200

    trans/fakeroot: use C99-style struct initialization
    
    * 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 \

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

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