[Pvfs2-cvs] commit by mtmoore in pvfs2/src/server: pvfs2-server.c

CVS commit program cvs at parl.clemson.edu
Wed Jun 8 08:17:27 EDT 2011


Update of /projects/cvsroot/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv22567/server

Modified Files:
      Tag: Orange-Branch
	pvfs2-server.c 
Log Message:
compiler warning cleanup


Index: pvfs2-server.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/pvfs2-server.c,v
diff -p -u -r1.269.4.18 -r1.269.4.19
--- pvfs2-server.c	8 Jun 2011 12:13:28 -0000	1.269.4.18
+++ pvfs2-server.c	8 Jun 2011 12:17:27 -0000	1.269.4.19
@@ -1690,7 +1690,7 @@ static int server_parse_cmd_line_args(in
 {
     int ret = 0, option_index = 0;
     int total_arguments = 0;
-    const char *cur_option = NULL;
+    const char *cur_option = NULL, *tmp_path = NULL;
     static struct option long_opts[] =
     {
         {"foreground",0,0,0},
@@ -1801,7 +1801,7 @@ static int server_parse_cmd_line_args(in
 
     if (argv[optind][0] != '/')
     {
-        if( (startup_cwd = getcwd(startup_cwd, PATH_MAX)) == NULL )
+        if( (tmp_path = getcwd(startup_cwd, PATH_MAX)) == NULL )
         {
             gossip_err("Failed to get current working directory to create "
                        "absolute path for configuration file: %s\n",



More information about the Pvfs2-cvs mailing list