[Pvfs2-cvs] commit by walt in pvfs2-1/src/apps/admin: pvfs2-cp.c

CVS commit program cvs at parl.clemson.edu
Mon Jan 8 11:47:30 EST 2007


Update of /projects/cvsroot/pvfs2-1/src/apps/admin
In directory parlweb1:/tmp/cvs-serv22391/src/apps/admin

Modified Files:
      Tag: WALT3
	pvfs2-cp.c 
Log Message:
fixed an error where a SM frame is incorrectly freed


Index: pvfs2-cp.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/apps/admin/pvfs2-cp.c,v
diff -p -u -r1.19.2.1 -r1.19.2.2
--- pvfs2-cp.c	18 Sep 2006 15:05:01 -0000	1.19.2.1
+++ pvfs2-cp.c	8 Jan 2007 16:47:30 -0000	1.19.2.2
@@ -139,7 +139,7 @@ int main (int argc, char ** argv)
 	return(-1);
     }
     memset(&src, 0, sizeof(src));
-    memset(&dest, 0, sizeof(src));
+    memset(&dest, 0, sizeof(dest));
 
     resolve_filename(&src,  user_opts->srcfile );
     resolve_filename(&dest, user_opts->destfile);



More information about the Pvfs2-cvs mailing list