bugfix in H5OpenFile()

This commit is contained in:
2011-10-27 11:43:14 +00:00
parent 29888601b8
commit ce8b6dae77
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ int main(int argc, const char *argv[])
string ifn = string(input_name) + string(".h5");
h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, NULL);
h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, 0);
if( h5file == NULL ) {
fprintf(stdout, "unable to open file %s\n", input_name);
+1 -1
View File
@@ -336,7 +336,7 @@ int main(int argc, const char *argv[])
string ifn = string(input_name) + string(".h5");
h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, NULL);
h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, 0);
if( h5file == NULL ) {
fprintf(stdout, "unable to open file %s\n", input_name);