]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Removed compilation warnings from mountd/cache.c
authorJim Rees <rees@umich.edu>
Wed, 18 May 2011 16:42:02 +0000 (12:42 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 18 May 2011 16:42:02 +0000 (12:42 -0400)
Commit 5604b35a6 introduced a number of missing initializer
warnings that were missed. This patch removes those warnings.

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mountd/cache.c

index df6b38f9b5c737d5f9e87a9380ef854d3e464b16..0c4a03d13daccded13482e1cf8ad56d4e467323f 100644 (file)
@@ -827,11 +827,11 @@ struct {
        FILE *f;
        char vbuf[RPC_CHAN_BUF_SIZE];
 } cachelist[] = {
        FILE *f;
        char vbuf[RPC_CHAN_BUF_SIZE];
 } cachelist[] = {
-       { "auth.unix.ip", auth_unix_ip, NULL},
-       { "auth.unix.gid", auth_unix_gid, NULL},
-       { "nfsd.export", nfsd_export, NULL},
-       { "nfsd.fh", nfsd_fh, NULL},
-       { NULL, NULL, NULL }
+       { "auth.unix.ip", auth_unix_ip, NULL, ""},
+       { "auth.unix.gid", auth_unix_gid, NULL, ""},
+       { "nfsd.export", nfsd_export, NULL, ""},
+       { "nfsd.fh", nfsd_fh, NULL, ""},
+       { NULL, NULL, NULL, ""}
 };
 
 extern int manage_gids;
 };
 
 extern int manage_gids;