diff options
author | Quincey Koziol <koziol@lbl.gov> | 2020-04-21 13:10:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@lbl.gov> | 2020-04-21 13:10:26 (GMT) |
commit | c9a21e932e179e8a12106d5c98f9357b12aa6e3f (patch) | |
tree | ab184e76824e8b4250ad9bf38286a65227fe2407 /src/H5FDint.c | |
parent | 7ba692badf9a1bafb9d3b2f72efbbdf773b5932a (diff) | |
parent | 9e5dbf69062d4d2cb40ba8f68edb355477fc9b67 (diff) | |
download | hdf5-c9a21e932e179e8a12106d5c98f9357b12aa6e3f.zip hdf5-c9a21e932e179e8a12106d5c98f9357b12aa6e3f.tar.gz hdf5-c9a21e932e179e8a12106d5c98f9357b12aa6e3f.tar.bz2 |
Merge pull request #2527 in HDFFV/hdf5 from trim_whitespace to develop
* commit '9e5dbf69062d4d2cb40ba8f68edb355477fc9b67':
Trim trailing whitespace
Diffstat (limited to 'src/H5FDint.c')
-rw-r--r-- | src/H5FDint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FDint.c b/src/H5FDint.c index ea8c4d8..8a2148a 100644 --- a/src/H5FDint.c +++ b/src/H5FDint.c @@ -241,7 +241,7 @@ H5FD_write(H5FD_t *file, H5FD_mem_t type, haddr_t addr, size_t size, const void if(HADDR_UNDEF == (eoa = (file->cls->get_eoa)(file, type))) HGOTO_ERROR(H5E_VFL, H5E_CANTINIT, FAIL, "driver get_eoa request failed") if((addr + file->base_addr + size) > eoa) - HGOTO_ERROR(H5E_ARGS, H5E_OVERFLOW, FAIL, "addr overflow, addr = %llu, size=%llu, eoa=%llu", + HGOTO_ERROR(H5E_ARGS, H5E_OVERFLOW, FAIL, "addr overflow, addr = %llu, size=%llu, eoa=%llu", (unsigned long long)(addr+ file->base_addr), (unsigned long long)size, (unsigned long long)eoa) /* Dispatch to driver */ @@ -389,7 +389,7 @@ H5FD_driver_query(const H5FD_class_t *driver, unsigned long *flags/*out*/) /* Check for the driver to query and then query it */ if(driver->query) ret_value = (driver->query)(NULL, flags); - else + else *flags = 0; FUNC_LEAVE_NOAPI(ret_value) |