git-svn-id: http://ltt.polymtl.ca/svn@342 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Dec 2003 19:38:26 +0000 (19:38 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Dec 2003 19:38:26 +0000 (19:38 +0000)
ltt/branches/poly/ltt/convert/convert.c

index dcca2ac7f97fcc332474ee3414eb83819a381504..ccec523fc029da3683718b65adfa8660eacc0f1d 100644 (file)
@@ -250,9 +250,9 @@ int main(int argc, char ** argv){
 
 
   for(k=0;k<cpu;k++){
-    fd = open(argv[nb_para-1+k], O_RDONLY, 0);
+    fd = open(argv[nb_para-cpu+k], O_RDONLY, 0);
     if(fd < 0){
-      g_error("Unable to open input data file %s\n", argv[nb_para-1+k]);
+      g_error("Unable to open input data file %s\n", argv[nb_para-cpu+k]);
     }
     
     if(fstat(fd, &lTDFStat) < 0){
This page took 0.024351 seconds and 4 git commands to generate.