From: Yann Collet Date: Mon, 27 Jun 2016 11:36:54 +0000 (+0200) Subject: fixed error messages X-Git-Tag: v0.7.2^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c56f4a3cf3b1c991c1506c508361eeb0aae8e02;p=thirdparty%2Fzstd.git fixed error messages --- diff --git a/programs/bench.c b/programs/bench.c index a8fc7408a..5ebc02e56 100644 --- a/programs/bench.c +++ b/programs/bench.c @@ -227,7 +227,7 @@ static int BMK_benchMem(const void* srcBuffer, size_t srcSize, blockTable[blockNb].cPtr, blockTable[blockNb].cRoom, blockTable[blockNb].srcPtr,blockTable[blockNb].srcSize, cdict); - if (ZSTD_isError(rSize)) EXM_THROW(1, "ZSTD_compress_usingPreparedCCtx() failed : %s", ZSTD_getErrorName(rSize)); + if (ZSTD_isError(rSize)) EXM_THROW(1, "ZSTD_compress_usingCDict() failed : %s", ZSTD_getErrorName(rSize)); blockTable[blockNb].cSize = rSize; } nbLoops++; @@ -264,7 +264,7 @@ static int BMK_benchMem(const void* srcBuffer, size_t srcSize, blockTable[blockNb].cPtr, blockTable[blockNb].cSize, ddict); if (ZSTD_isError(regenSize)) { - DISPLAY("ZSTD_decompress_usingPreparedDCtx() failed on block %u : %s \n", + DISPLAY("ZSTD_decompress_usingDDict() failed on block %u : %s \n", blockNb, ZSTD_getErrorName(regenSize)); clockLoop = 0; /* force immediate test end */ break;