From d26db0af91e1ea5c30d9bea820a36e9a50414bdd Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 30 Oct 2000 12:38:56 -0500 Subject: [svn-r2752] Purpose: Bug fix Description: There is typo in the H5D_write function which reported the optimized write failure as a H5E_READERROR. Solution: Replaced it with the correct H5E_WRITEERROR code. Platforms tested: modi4 parallel (compiled H5D.o only). --- src/H5D.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5D.c b/src/H5D.c index ec8bf0f..fdab7c5 100644 --- a/src/H5D.c +++ b/src/H5D.c @@ -2091,7 +2091,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space, mem_space, dxpl_id, buf, &must_convert/*out*/); if (status<0) { /* Supports only no conversion, type or space, for now. */ - HGOTO_ERROR(H5E_DATASET, H5E_READERROR, FAIL, + HGOTO_ERROR(H5E_DATASET, H5E_WRITEERROR, FAIL, "optimized write failed"); } if (must_convert) { -- cgit v0.12