Merge "Fixed error message to identify the correct file" into release-4-5-patches
authorDavid van der Spoel <davidvanderspoel@gmail.com>
Wed, 1 Feb 2012 08:10:58 +0000 (09:10 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 1 Feb 2012 08:10:58 +0000 (09:10 +0100)
src/kernel/tpbcmp.c

index 0251d34232ef4a3a1202c149de27805e307c3004..a438f16165cf44f525b1bf1c5b9fadb1a6860496 100644 (file)
@@ -809,7 +809,7 @@ void comp_trx(const output_env_t oenv,const char *fn1, const char *fn2,
     
     for (i=0; i<2; i++) {
       if (b[i] && !b[1-i])
-       fprintf(stdout,"\nEnd of file on %s but not on %s\n",fn[i],fn[1-i]);
+       fprintf(stdout,"\nEnd of file on %s but not on %s\n",fn[1-i],fn[i]);
       close_trj(status[i]);
     }
   }