Browse Source

src/core/simgrid.c: we actually want RAM and not RAM%u

Nathalie Furmento 8 years ago
parent
commit
f7fdc53b4d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/core/simgrid.c
  2. 1 1
      tools/cppcheck/suppressions.txt

+ 1 - 1
src/core/simgrid.c

@@ -700,7 +700,7 @@ _starpu_simgrid_get_memnode_host(unsigned node)
 	switch (starpu_node_get_kind(node))
 	{
 		case STARPU_CPU_RAM:
-			fmt = "RAM%u";
+			fmt = "RAM";
 			break;
 		case STARPU_CUDA_RAM:
 			fmt = "CUDA%u";

+ 1 - 1
tools/cppcheck/suppressions.txt

@@ -49,6 +49,7 @@ unusedStructMember:src/core/simgrid.c:226
 redundantCopy:src/core/disk_ops/disk_leveldb.cpp:192
 
 nullPointerRedundantCheck:src/common/rbtree.c
+wrongPrintfScanfArgNum:src/core/simgrid.c:715
 unreadVariable:src/datawizard/interfaces/*
 unreadVariable:src/drivers/driver_common/driver_common.c:482
 clarifyCondition:src/drivers/opencl/driver_opencl.c:936
@@ -63,4 +64,3 @@ unusedVariable:gcc-plugin/tests/*
 unreadVariable:gcc-plugin/tests/*
 
 pointerSize:socl/src/cl_getcontextinfo.c:33
-