Commit 315e041a authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdf_create: print file name on error

parent abde3228
......@@ -67,7 +67,7 @@ void cdf_create(const char *path, int cmode, int *ncidp)
if ( CDF_Debug || status != NC_NOERR )
Message("chunksizehint %d", chunksizehint);
if ( status != NC_NOERR ) Error("%s", nc_strerror(status));
if ( status != NC_NOERR ) Error("%s: %s", path, nc_strerror(status));
status = nc_set_fill(*ncidp, NC_NOFILL, &oldfill);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment