X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftest-framework%2Fyaffs_ramem2k.c;h=73195c9a3f2ba2372b0ac2d55690008275a6aaed;hb=f83f5b03c1eea3fe26a0929583ffbd16df7c64f0;hp=6bd3a0e73ec17c65b6be410aa05e97e84f059ca3;hpb=1f3d64d1d804fef6715126dead54bf30b176c67e;p=yaffs2.git diff --git a/direct/test-framework/yaffs_ramem2k.c b/direct/test-framework/yaffs_ramem2k.c index 6bd3a0e..73195c9 100644 --- a/direct/test-framework/yaffs_ramem2k.c +++ b/direct/test-framework/yaffs_ramem2k.c @@ -175,9 +175,11 @@ static int CheckInit(void) } kfree(ned.block); + (void) sizeInMB; + yaffs_trace(YAFFS_TRACE_ALWAYS, "Allocation failed, could only allocate %dMB of %dMB requested.\n", - nAllocated/64,sizeInMB); + nAllocated/64, sizeInMB); return 0; }