[fedfs-utils] [PATCH 09/11] fedfs-map-nfs4: Silence a sparse warning
    Chuck Lever 
    chuck.lever at oracle.com
       
    Fri Oct 19 14:08:55 PDT 2012
    
    
  
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 at oracle.com>
---
 src/mount/fedfs-map-nfs4.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
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
    
    
More information about the fedfs-utils-devel
mailing list