diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-16 13:15:03 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-16 18:55:08 +0200 |
commit | 820241ead7e31082fa99f3e756c6aa73aae7d88b (patch) | |
tree | 380923909144472be7f004962c69d1e9798a4de3 | |
parent | 2e009c2f45dca5d8070653042c05c17aa4d0d692 (diff) |
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.
-rw-r--r-- | trans/fakeroot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/fakeroot.c b/trans/fakeroot.c index 3107e29f..c4b95de1 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 \ |