[Pvfs2-cvs] commit by mtmoore in pvfs2/test/client/sysint: test-hindexed-test.c

CVS commit program cvs at parl.clemson.edu
Wed Jun 8 20:10:50 EDT 2011


Update of /projects/cvsroot/pvfs2/test/client/sysint
In directory parlweb1:/tmp/cvs-serv14450/test/client/sysint

Modified Files:
      Tag: Orange-Branch
	test-hindexed-test.c 
Log Message:
compiler warning cleanup


Index: test-hindexed-test.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/test-hindexed-test.c,v
diff -p -u -r1.5 -r1.5.10.1
--- test-hindexed-test.c	26 Nov 2008 21:18:51 -0000	1.5
+++ test-hindexed-test.c	9 Jun 2011 00:10:50 -0000	1.5.10.1
@@ -119,8 +119,8 @@ static int fillup_buffer(cm_frame_t *fra
 int main(int argc, char **argv)
 {
     int ret = -1;
-    char str_buf[PVFS_NAME_MAX] = {0}, *fname = NULL;
-    char pvfs_path[PVFS_NAME_MAX] = {0};
+    char str_buf[PVFS_NAME_MAX+1] = {0}, *fname = NULL;
+    char pvfs_path[PVFS_NAME_MAX+1] = {0};
     PVFS_fs_id cur_fs;
     PVFS_sysresp_lookup resp_lookup;
     PVFS_sysresp_create resp_create;



More information about the Pvfs2-cvs mailing list