diff options
-rw-r--r-- | src/hdf5-file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hdf5-file.c b/src/hdf5-file.c index aa341e50..622fc409 100644 --- a/src/hdf5-file.c +++ b/src/hdf5-file.c @@ -45,6 +45,9 @@ struct hdfile *hdfile_open(const char *filename) f = malloc(sizeof(struct hdfile)); if ( f == NULL ) return NULL; + /* Please stop spamming my terminal */ + H5Eset_auto(H5E_DEFAULT, NULL, NULL); + f->fh = H5Fopen(filename, H5F_ACC_RDONLY, H5P_DEFAULT); if ( f->fh < 0 ) { ERROR("Couldn't open file: %s\n", filename); |