Removing unnecessary parameter to sprintf that was already ignored.
authorIsaac Dooley <isaacdooley@hope.cs.uiuc.edu>
Mon, 15 Feb 2010 16:14:27 +0000 (10:14 -0600)
committerIsaac Dooley <isaacdooley@hope.cs.uiuc.edu>
Mon, 15 Feb 2010 16:14:27 +0000 (10:14 -0600)
src/ck-com/ComlibManager.C

index 52313feace6b1dfe1a53da592b5acb4a34d3088c..0848f460b0fb2ef89971ddadc6b95fcdd7aacd6c 100644 (file)
@@ -862,16 +862,16 @@ void ComlibManager::printPeList(const char* note, int *count)
        for(int i=0;i<CkNumPes();i++){
                switch (count[i]){
                case 0:
-                       sprintf(buf+strlen(buf), " %d:no ", i, count[i]);
+                       sprintf(buf+strlen(buf), " %d:no ", i);
                        break;
                case 1:
-                       sprintf(buf+strlen(buf), " %d:source ", i, count[i]);
+                       sprintf(buf+strlen(buf), " %d:source ", i);
                        break;
                case 2:
-                       sprintf(buf+strlen(buf), " %d:dest ", i, count[i]);
+                       sprintf(buf+strlen(buf), " %d:dest ", i);
                        break;
                case 3:
-                       sprintf(buf+strlen(buf), " %d:both ", i, count[i]);
+                       sprintf(buf+strlen(buf), " %d:both ", i);
                        break;
                }
        }