X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftest-framework%2Fyaffs_ramem2k.c;h=73195c9a3f2ba2372b0ac2d55690008275a6aaed;hb=6e55e7171b6b31da64428009a5b102ca03267608;hp=11f90332cc98565c78b1e0d5e27f93edf26161fc;hpb=b4d5215f18486403d16f2e776000e43eba052f40;p=yaffs2.git diff --git a/direct/test-framework/yaffs_ramem2k.c b/direct/test-framework/yaffs_ramem2k.c index 11f9033..73195c9 100644 --- a/direct/test-framework/yaffs_ramem2k.c +++ b/direct/test-framework/yaffs_ramem2k.c @@ -1,8 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2011 Aleph One Ltd. - * for Toby Churchill Ltd and Brightstar Engineering + * Copyright (C) 2002-2018 Aleph One Ltd. * * Created by Charles Manning * @@ -176,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; }