diff mbox

[01/11] fedfsd: Use correct naming convention for the getopts variables

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

Commit Message

Chuck Lever Oct. 19, 2012, 9:07 p.m. UTC
Clean up incorrect variable naming introduced by commit 0520ee72
"Initial commit" March 29, 2011.

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

 src/fedfsd/main.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/src/fedfsd/main.c b/src/fedfsd/main.c
index eb7ab48..f0a39d6 100644
--- a/src/fedfsd/main.c
+++ b/src/fedfsd/main.c
@@ -50,12 +50,12 @@ 
 /**
  * Short form command line options
  */
-static const char fedfs_opts[] = "?dFg:o:u:";
+static const char fedfsd_opts[] = "?dFg:o:u:";
 
 /**
  * Long form command line options
  */
-static const struct option fedfs_longopts[] =
+static const struct option fedfsd_longopts[] =
 {
 	{ "debug", 0, NULL, 'd', },
 	{ "foreground", 0, NULL, 'F', },
@@ -134,8 +134,8 @@  int main(int argc, char **argv)
 				FEDFS_USER, uid, gid);
 	}
 
-	while ((arg = getopt_long(argc, argv, fedfs_opts,
-					fedfs_longopts, NULL)) != EOF) {
+	while ((arg = getopt_long(argc, argv, fedfsd_opts,
+					fedfsd_longopts, NULL)) != EOF) {
 		switch (arg) {
 		case 'd':
 			xlog_config(D_ALL, 1);