[09/11] fedfs-map-nfs4: Silence a sparse warning

Submitted by Chuck Lever on Oct. 19, 2012, 9:08 p.m.

Details

Message ID 20121019210855.53119.32569.stgit@seurat.1015granger.net
State Accepted
Headers show

Commit Message

Chuck Lever Oct. 19, 2012, 9:08 p.m.
Address this sparse warning:

fedfs-map-nfs4.c:73:6: warning: symbol 'progname' was not declared. Should
it be static?

Introduced by commit 4bd89735 "mount: Add automounter program map for
FedFS" September 3, 2011.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---

 src/mount/fedfs-map-nfs4.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/mount/fedfs-map-nfs4.c b/src/mount/fedfs-map-nfs4.c
index 8376b6b..38d930d 100644
--- a/src/mount/fedfs-map-nfs4.c
+++ b/src/mount/fedfs-map-nfs4.c
@@ -70,7 +70,7 @@ 
  */
 #define FEDFS_NFS4_EXPORTPATH_RW	"/.domainroot-write"
 
-char *progname;
+static char *progname;
 
 /**
  * Display usage message