Browse Source

src/core/perfmodel/perfmodel_bus.c: clarify error message

Nathalie Furmento 13 years ago
parent
commit
40d729067a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/perfmodel/perfmodel_bus.c

+ 1 - 1
src/core/perfmodel/perfmodel_bus.c

@@ -1000,7 +1000,7 @@ static int load_bus_bandwidth_file_content(void)
 			n = fscanf(f, "%lf", &bandwidth);
 			if (n != 1)
 			{
-				fprintf(stderr,"didn't get a number\n");
+				fprintf(stderr,"Error while reading sampling file <%s>. Expected a number\n", path);
 				fclose(f);
 				return 0;
 			}